[MPlayer-dev-eng] [PATCH] Fix for fix for mpeg2 A/V sync bug.
compn
tempn at twmi.rr.com
Sat Oct 22 19:48:10 CEST 2011
On Sat, 22 Oct 2011 18:25:23 +0200, Dan Oscarsson wrote:
>--- libmpcodecs/dec_video.c.org 2011-10-22 18:05:55.491948276 +0200
>+++ libmpcodecs/dec_video.c 2011-10-22 18:06:40.120615379 +0200
>@@ -403,7 +403,7 @@
> *full_frame = got_picture;
>
> delay = get_current_video_decoder_lag(sh_video);
>- if (correct_pts && pts != MP_NOPTS_VALUE
>+ if (pts != MP_NOPTS_VALUE
wouldnt this be solved if you just set -correct-pts as on for h264 ts?
>- if (correct_pts) {
> if (sh_video->num_buffered_pts) {
> sh_video->num_buffered_pts--;
> sh_video->pts = sh_video->buffered_pts[sh_video->num_buffered_pts];
>@@ -468,7 +467,6 @@
> else
> sh_video->num_buffered_pts = delay;
> }
>- }
it looks like you are turning on correct-pts for everything.
unless i am misunderstanding something?
-compn
More information about the MPlayer-dev-eng
mailing list