mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
3 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,7 @@ gst_rtp_L16_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
|
||||||
GST_STR_NULL (channel_order), channels));
|
GST_STR_NULL (channel_order), channels));
|
||||||
/* create default NONE layout */
|
/* create default NONE layout */
|
||||||
gst_rtp_channels_create_default (channels, info->position);
|
gst_rtp_channels_create_default (channels, info->position);
|
||||||
|
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||||
}
|
}
|
||||||
|
|
||||||
srccaps = gst_audio_info_to_caps (info);
|
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));
|
GST_STR_NULL (channel_order), channels));
|
||||||
/* create default NONE layout */
|
/* create default NONE layout */
|
||||||
gst_rtp_channels_create_default (channels, info->position);
|
gst_rtp_channels_create_default (channels, info->position);
|
||||||
|
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||||
}
|
}
|
||||||
|
|
||||||
srccaps = gst_audio_info_to_caps (info);
|
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));
|
GST_STR_NULL (channel_order), channels));
|
||||||
/* create default NONE layout */
|
/* create default NONE layout */
|
||||||
gst_rtp_channels_create_default (channels, info->position);
|
gst_rtp_channels_create_default (channels, info->position);
|
||||||
|
info->flags |= GST_AUDIO_FLAG_UNPOSITIONED;
|
||||||
}
|
}
|
||||||
|
|
||||||
srccaps = gst_audio_info_to_caps (info);
|
srccaps = gst_audio_info_to_caps (info);
|
||||||
|
|
Loading…
Reference in a new issue