mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
update for audio api changes
This commit is contained in:
parent
5b4c040192
commit
ee6c8bd498
1 changed files with 2 additions and 1 deletions
|
@ -339,7 +339,8 @@ gst_ff_aud_caps_new (AVCodecContext * context, enum CodecID codec_id,
|
|||
if (gst_ffmpeg_channel_layout_to_gst (context, pos)) {
|
||||
guint64 mask;
|
||||
|
||||
if (gst_audio_channel_positions_to_mask (pos, context->channels, &mask)) {
|
||||
if (gst_audio_channel_positions_to_mask (pos, context->channels, FALSE,
|
||||
&mask)) {
|
||||
gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, mask,
|
||||
NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue