[MPlayer-dev-eng] [PATCH] demuxer and MP_NOPTS_VALUE
zaek7q at gmx.net
Fri Apr 20 23:04:56 CEST 2007
I am suspicious about the usage MP_NOPTS_VALUE. As MP_NOPTS_VALUE is used
at several places when no check for correct_pts is made (e.g. mpcommon.c),
I assume MP_NOPTS_VALUE may be used, regardless of -correct-pts.
However, libmpdemux/demuxer.c initializes ds->pts to 0 and not
MP_NOPTS_VALUE. Furthermore, fill_buffers handling does not respect pts of
MP_NOPTS_VALUE if correct_pts is not set.
Is my understanding of MP_NOPTS_VALUE flawed?
If it is not, the attached patch fixes these two issues.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 613 bytes
Desc: not available
More information about the MPlayer-dev-eng