From 393660d32b68de3735b9caf59de36c9a88d685a0 Mon Sep 17 00:00:00 2001 From: Mateusz Front Date: Thu, 22 Aug 2024 12:44:01 +0200 Subject: [PATCH] Update lib/membrane_mp4/muxer/isom.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Kita --- lib/membrane_mp4/muxer/isom.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/membrane_mp4/muxer/isom.ex b/lib/membrane_mp4/muxer/isom.ex index 7fade3e..7f8a9dc 100644 --- a/lib/membrane_mp4/muxer/isom.ex +++ b/lib/membrane_mp4/muxer/isom.ex @@ -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} -> @@ -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