• Gildas Bazin's avatar
    · 9c374559
    Gildas Bazin authored
    * modules/demux/*: some containers don't carry any PTS information, just a DTS. In that case, make sure the PTS forwarded to the decoder is set to 0.
    * modules/codec/ffmpeg/video.c: use PTS if available, if not find out the PTS from the DTS and the p_context->has_b_frames and p_pic->reference flags.
    9c374559
mkv.cpp 78.2 KB