[MPlayer-cvslog] r19292 - trunk/libmpcodecs/ad_hwmpa.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Tue Aug 1 23:20:33 CEST 2006


On Tue, 2006-08-01 at 22:54 +0200, Nico Sabbi wrote:
> confirmed: advised by me and working for him with -ao ivtv  :)
> Additionally some time ago Uoti  explained me that letting decode_audio()
> decode only one frame (as do all other ad_*) per call is perfectly 
> acceptable,
> because the function will be simlpy called more often

Yes the new behavior of the decoder is acceptable in itself. However the
aos that always return 0 from get_delay() are severely broken, and
relying on other parts to work around that is not ok.

After looking at the code it seems this change shouldn't even affect the
data going to the aos, so I think there's also some other bug affecting
the sync. Maybe demuxing/decoding audio later rather than earlier
affects something it shouldn't, or maybe the values used to calculate
duration of buffered audio are set incorrectly.




More information about the MPlayer-cvslog mailing list