mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
ffmpegcodecmap: really include all supported sample formats in audio caps
Fixes #653717.
This commit is contained in:
parent
856dbe6f21
commit
6d517b3b76
1 changed files with 1 additions and 1 deletions
|
@ -1926,7 +1926,7 @@ gst_ffmpeg_codectype_to_audio_caps (AVCodecContext * context,
|
|||
caps = gst_caps_new_empty ();
|
||||
for (i = 0; codec->sample_fmts[i] != -1; i++) {
|
||||
temp =
|
||||
gst_ffmpeg_smpfmt_to_caps (codec->sample_fmts[0], context, codec_id);
|
||||
gst_ffmpeg_smpfmt_to_caps (codec->sample_fmts[i], context, codec_id);
|
||||
if (temp != NULL)
|
||||
gst_caps_append (caps, temp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue