comparison mpcommon.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 bf1afb0fa07d
children 13ca93203358
comparison
equal deleted inserted replaced
31244:952d773404f5 31245:a3adde0a5b83