[vlc-devel] [PATCH 06/10] demux:mkv: remove dual initialization

Steve Lhomme robux4 at videolabs.io
Fri Jul 7 12:56:14 CEST 2017


It's already done when we initialize the ES
---
 modules/demux/mkv/matroska_segment_parse.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index a7be7901e7..e74cb34787 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -671,9 +671,6 @@ void matroska_segment_c::ParseTrackEntry( const KaxTrackEntry *m )
             }
         }
         E_CASE( KaxTrackAudio, tka ) {
-            vars.tk->fmt.audio.i_channels = 1;
-            vars.tk->fmt.audio.i_rate = 8000;
-
             debug( vars, "Track Audio");
 
             vars.level += 1;
-- 
2.12.1



More information about the vlc-devel mailing list