[FFmpeg-devel] [PATCH] ffplay multi-channel fix
Sat Jan 5 22:39:04 CET 2008
Here is a patch to fix ffplay for decoders which support multi-channel,
but do not support downmixing. Basically it moves the SDL audio init to
after decoder init, which allows for AVCodecContext.channels to be
changed based on AFCodecContext.request_channels. If the requested
channels are not granted, then SDL needs to be init'ed with the full
number of coded channels. The result is that multi-channel wav, vorbis,
flac, etc... will play, but the first 2 channels are treated as
left/right. All channels are displayed in the oscilloscope.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1901 bytes
Desc: not available
More information about the ffmpeg-devel