[vlc-commits] demux: mkv: assume RealVideo is stored properly with PTS instead of DTS
Steve Lhomme
git at videolan.org
Tue May 29 09:47:53 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 29 09:47:19 2018 +0200| [3a6f646da327130517e12f935d37d4fc13647694] | committer: Steve Lhomme
demux: mkv: assume RealVideo is stored properly with PTS instead of DTS
That's how libavformat interprets the timestamps. It may have been broken with
older muxers. Hence this hack introduced in 7cdc4e6d534952594a73c5792b409a2d96a39c38.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a6f646da327130517e12f935d37d4fc13647694
---
modules/demux/mkv/matroska_segment_parse.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 1e6c38f719..b0c844cc38 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1528,7 +1528,6 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
}
static void v_real_helper (vlc_fourcc_t codec, HandlerPayload& vars)
{
- vars.p_tk->b_dts_only = true;
vars.p_fmt->i_codec = codec;
/* Extract the framerate from the header */
More information about the vlc-commits
mailing list