[vlc-devel] [PATCH] demux:mkv: don't force a block length for Opus
Steve Lhomme
robux4 at videolabs.io
Mon Dec 18 13:47:57 CET 2017
Fixes #18545
---
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");
--
2.14.2
More information about the vlc-devel
mailing list