diff libvo/csputils.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 aeab18b1923d
children 4b888c2d2a1d
line wrap: on
line diff