Skip to content

Commit

Permalink
Update lib/membrane_mp4/muxer/isom.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Łukasz Kita <lukasz.kita0@gmail.com>
  • Loading branch information
mat-hek and varsill committed Aug 22, 2024
1 parent a83db58 commit 393660d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/membrane_mp4/muxer/isom.ex
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ defmodule Membrane.MP4.Muxer.ISOM do
Track.new(track_id, new_format, state.chunk_duration)
end)

# If the stream format is identical or remains H264 AVC3 or H265,
# If the stream format is identical or remains H264 AVC3 or H265 HEV1,
# we can be reasonably sure that the stream can still be appended
# to the same MP4
{stream_format, stream_format} ->
Expand All @@ -117,7 +117,8 @@ defmodule Membrane.MP4.Muxer.ISOM do
%Membrane.H264{stream_structure: {:avc3, _dcr2}}} ->
state

{%Membrane.H265{}, %Membrane.H265{}} ->
{%Membrane.H265{stream_structure: {:hev1, _dcr1}},
%Membrane.H265{stream_structure: {:hev1, _dcr2}}} ->
state

# Otherwise we can assume that output will be corrupted
Expand Down

0 comments on commit 393660d

Please sign in to comment.