[MPlayer-dev-eng] Re: [PATCH] demuxers: move resync_audio_stream call to demuxer.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Oct 15 11:30:13 CEST 2005


Hi,
On Fri, Oct 14, 2005 at 08:10:05PM -0400, kiriuja wrote:
> In this case even if the control is implemented it may not switch
> to a different audio track, for example if there is no other track
> with identical parameters or no other track at all.

Well, even if it does not switch the track, it might have been doing
something that might make a resync necessary. Calling
resync_audio_stream should at most cause a minor gap/short A-V
desync, so IMHO calling it always when the function is implemented
is okay.
The next best solution would be a special return value for the control
to indicate whether resync is necessary or not, but for now this should
be overkill.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list