rtpLXXdepay: Set the UNPOSITIONED flag on the audio-info when configuring an unpositioned layout
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/688
This commit is contained in:
parent
586fc57e55
commit
db69f02dd8
@ -209,6 +209,7 @@ gst_rtp_L16_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
|
||||
GST_STR_NULL (channel_order), channels));
|
||||
/* create default NONE layout */
|
||||
gst_rtp_channels_create_default (channels, info->position);
|
||||
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||
}
|
||||
|
||||
srccaps = gst_audio_info_to_caps (info);
|
||||
|
@ -187,6 +187,7 @@ gst_rtp_L24_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
|
||||
GST_STR_NULL (channel_order), channels));
|
||||
/* create default NONE layout */
|
||||
gst_rtp_channels_create_default (channels, info->position);
|
||||
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||
}
|
||||
|
||||
srccaps = gst_audio_info_to_caps (info);
|
||||
|
@ -186,6 +186,7 @@ gst_rtp_L8_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
|
||||
GST_STR_NULL (channel_order), channels));
|
||||
/* create default NONE layout */
|
||||
gst_rtp_channels_create_default (channels, info->position);
|
||||
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||
}
|
||||
|
||||
srccaps = gst_audio_info_to_caps (info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user