Mercurial > mplayer.hg
view drivers/rage128_vid.c @ 34963:0ba5ba56f6d0
demux_lavf: Set endpts from AVPacket.duration
Always set endpts from AVPacket.duration for all streams. Override
endpts with AVPacket.convergence_duration for subtitle streams if it
is non-zero, because some lavf demuxers store the duration there.
However keep the behaviour to never set endpts if it would equal pts
afterwards.
Also stop checking AV_PKT_FLAG_KEY when overriding endpts with
convergence_duration. It does not seem necessary anymore.
author | al |
---|---|
date | Thu, 02 Aug 2012 23:28:04 +0000 |
parents | 0abb6e07e3cb |
children |