Mercurial > mplayer.hg
diff libvo/vo_gl2.c @ 31245:a3adde0a5b83
If an invalid pts value is detected, try to to make up some if it seems
reasonable.
This avoids completely losing A-V sync e.g. when pts was not reordered correctly.
This was tested with http://samples.mplayerhq.hu/V-codecs/h264/PAFF/tv_cut.mkv
for this sample proper pts reordering is the correct solution, but more resilient
handling of the error case is still useful.
author | reimar |
---|---|
date | Thu, 03 Jun 2010 20:39:41 +0000 |
parents | bbe66cf05445 |
children | ad274a5b093b |