Commit be913993 authored by Steve Lhomme's avatar Steve Lhomme

demux:mkv: V_MJPEG has no DTS timing

Fixes playback of files created with lavf 58.12. They contain no keyframe,
even though all frames are keyframes for MJPEG.
parent c1014e9a
......@@ -1768,6 +1768,7 @@ bool matroska_segment_c::TrackInit( mkv_track_t * p_tk )
vars.p_fmt->i_codec = VLC_CODEC_MJPG;
vars.p_tk->b_pts_only = true;
msg_Dbg( vars.p_demuxer, "uncompressed format detected");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment