audiodecoder: Make caps writable before fixating
https://bugzilla.gnome.org/show_bug.cgi?id=729114
This commit is contained in:
parent
05ed7d5ba7
commit
7c97a1c6cf
@ -1842,6 +1842,7 @@ gst_audio_decoder_negotiate_default_caps (GstAudioDecoder * dec)
|
|||||||
goto caps_error;
|
goto caps_error;
|
||||||
|
|
||||||
/* before fixating, try to use whatever upstream provided */
|
/* before fixating, try to use whatever upstream provided */
|
||||||
|
caps = gst_caps_make_writable (caps);
|
||||||
caps_size = gst_caps_get_size (caps);
|
caps_size = gst_caps_get_size (caps);
|
||||||
if (dec->priv->ctx.input_caps) {
|
if (dec->priv->ctx.input_caps) {
|
||||||
GstCaps *sinkcaps = dec->priv->ctx.input_caps;
|
GstCaps *sinkcaps = dec->priv->ctx.input_caps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user