diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-03 20:39:41 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-03 20:39:41 +0000 |
commit | 9343d1cb2d6b01e5c08a6a82f5b2c43d251c868e (patch) | |
tree | 3d50a63e61ae6ba8d18371fb2ecdfa66772cf47d /libvo/aspect.c | |
parent | d6d87593a7bb372ad34b3c8f1901b95b86e38e1f (diff) | |
download | mpv-9343d1cb2d6b01e5c08a6a82f5b2c43d251c868e.tar.bz2 mpv-9343d1cb2d6b01e5c08a6a82f5b2c43d251c868e.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31311 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/aspect.c')
0 files changed, 0 insertions, 0 deletions