[vlc-commits] demux:mkv: remove dual initialization
Steve Lhomme
git at videolan.org
Sat Jul 8 18:39:17 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Jul 6 14:27:36 2017 +0200| [2bbecd84c1b120a8651e732a0555b7af734a5928] | committer: Jean-Baptiste Kempf
demux:mkv: remove dual initialization
It's already done when we initialize the ES
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bbecd84c1b120a8651e732a0555b7af734a5928
---
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 594e83ac28..48093cc86d 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;
More information about the vlc-commits
mailing list