diff options
Diffstat (limited to 'gst/goom/gstgoom.c')
-rw-r--r-- | gst/goom/gstgoom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 506ec82c..05d02b29 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -268,7 +268,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) "height", GST_PROPS_INT (goom->height) ); - if (!gst_pad_try_set_caps (goom->srcpad, caps)) { + if (gst_pad_try_set_caps (goom->srcpad, caps) <= 0) { gst_element_error (GST_ELEMENT (goom), "could not set caps"); return; } |