[MPlayer-dev-eng] [PATCH] mplayer: fix buffer handling during channel change.
Nicolas George
george at nsup.org
Tue May 12 15:07:06 CEST 2015
Le primidi 21 floréal, an CCXXIII, Reimar Döffinger a écrit :
> Even just dropping the remaining data seems safer/better.
> This is a horrible hack and the variable should be moved into the
> context instead (so it can be properly reset on seek for example),
> but doesn't this work:
It does. See the attached patch for a version with the variable moved to the
context.
I have looked at the seek() function, it does not seem to flush anything
about the audio buffers, so I did not add a reset of the
a_buffer_format_change field.
Thanks for your help.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mplayer-fix-buffer-handling-during-channel-change.patch
Type: text/x-diff
Size: 4040 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20150512/ca943619/attachment.bin>
More information about the MPlayer-dev-eng
mailing list