[vlc-commits] mkv: remove DTS padding hack
Thomas Guillem
git at videolan.org
Wed Jan 11 13:18:05 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 8 14:13:24 2016 +0100| [d1c095168f41c8b533500651c7a67de6d38d2b31] | committer: Thomas Guillem
mkv: remove DTS padding hack
This case is now handled by the packetizer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1c095168f41c8b533500651c7a67de6d38d2b31
---
modules/demux/mkv/mkv.cpp | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 5be45ed..c3f9ace 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -35,10 +35,6 @@
#include <new>
-extern "C" {
-#include "../../packetizer/dts_header.h"
-}
-
#include <vlc_fs.h>
#include <vlc_url.h>
@@ -619,18 +615,6 @@ void BlockDecode( demux_t *p_demux, KaxBlock *block, KaxSimpleBlock *simpleblock
continue;
}
- case VLC_CODEC_DTS:
- {
- /* Check if packetization is correct and without padding.
- * example: Test_mkv_div3_DTS_1920x1080_1785Kbps_23,97fps.mkv */
- vlc_dts_header_t dts;
- if( vlc_dts_header_Parse( &dts, p_block->p_buffer, p_block->i_buffer )
- == VLC_SUCCESS && dts.i_frame_size > 0 )
- p_block->i_buffer = __MIN(p_block->i_buffer,
- (size_t)dts.i_frame_size);
- break;
- }
-
case VLC_CODEC_OPUS:
mtime_t i_length = i_duration * track. f_timecodescale *
(double) p_segment->i_timescale / 1000.0;
More information about the vlc-commits
mailing list