diff playtree.h @ 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 de190efe4da3
children fd78d436d30f
line wrap: on
line diff