mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
jpeg2000parse: fail caps negotiation if caps are NOT fixed
This commit is contained in:
parent
7b3491adf7
commit
1414e58dfa
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ gst_jpeg2000_parse_negotiate (GstJPEG2000Parse * parse, GstCaps * in_caps)
|
|||
GstCaps *caps;
|
||||
guint codec_format = GST_JPEG2000_PARSE_NO_CODEC;
|
||||
|
||||
if (in_caps != NULL && gst_caps_is_fixed (in_caps))
|
||||
if (in_caps != NULL && !gst_caps_is_fixed (in_caps))
|
||||
return FALSE;
|
||||
|
||||
caps = gst_pad_get_allowed_caps (GST_BASE_PARSE_SRC_PAD (parse));
|
||||
|
|
Loading…
Reference in a new issue