[vlc-commits] demux:mkv: don't force a block length for Opus
Steve Lhomme
git at videolan.org
Tue Dec 19 09:36:37 CET 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Dec 18 13:47:57 2017 +0100| [a40a2e8bcab3a1b76e9e3c4c694264e480bd151b] | committer: Jean-Baptiste Kempf
demux:mkv: don't force a block length for Opus
Fixes #18545
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a40a2e8bcab3a1b76e9e3c4c694264e480bd151b
---
modules/demux/mkv/matroska_segment_parse.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 2e5ae019d1..aba61b06d5 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1740,6 +1740,7 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
}
S_CASE("A_OPUS") {
vars.p_fmt->i_codec = VLC_CODEC_OPUS;
+ vars.p_tk->b_no_duration = true;
if( !vars.p_tk->fmt.audio.i_rate )
{
msg_Err( vars.p_demuxer,"No sampling rate, defaulting to 48kHz");
More information about the vlc-commits
mailing list