mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Never trust the docs: fix ffmpeg downsample.
This commit is contained in:
parent
7ed6975330
commit
8b22585748
2
codec.c
2
codec.c
@ -736,7 +736,7 @@ void CodecAudioOpen(AudioDecoder * audio_decoder, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (CodecDownmix) {
|
if (CodecDownmix) {
|
||||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53,61,100)
|
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53,61,100) || FF_API_REQUEST_CHANNELS
|
||||||
audio_decoder->AudioCtx->request_channels = 2;
|
audio_decoder->AudioCtx->request_channels = 2;
|
||||||
#endif
|
#endif
|
||||||
audio_decoder->AudioCtx->request_channel_layout =
|
audio_decoder->AudioCtx->request_channel_layout =
|
||||||
|
Loading…
Reference in New Issue
Block a user