diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-01-20 16:45:45 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-01-20 16:45:45 +0000 |
commit | 02b0cdae1254f72e314603b752a35d98466ef9a1 (patch) | |
tree | 04a84ad0495db36cafc6c327da2317f418bc059d | |
parent | 8753236b55fe78ff5ac5daf0bbe9edbb5d5f57d9 (diff) | |
download | gst-plugins-bad-02b0cdae1254f72e314603b752a35d98466ef9a1.tar.gz gst-plugins-bad-02b0cdae1254f72e314603b752a35d98466ef9a1.tar.bz2 gst-plugins-bad-02b0cdae1254f72e314603b752a35d98466ef9a1.zip |
Return donw when we changed the caps in the connect function.
Original commit message from CVS:
Return donw when we changed the caps in the connect function.
-rw-r--r-- | ext/hermes/gstcolorspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c index 40ada827..69ef4dab 100644 --- a/ext/hermes/gstcolorspace.c +++ b/ext/hermes/gstcolorspace.c @@ -314,7 +314,7 @@ gst_colorspace_srcconnect_func (GstPad *pad, GstCaps *caps, gboolean newcaps) if (gst_pad_try_set_caps (space->srcpad, peercaps)) { space->type = GST_COLORSPACE_NONE; space->disabled = FALSE; - return GST_PAD_CONNECT_OK; + return GST_PAD_CONNECT_DONE; } } /* then see what the peer has that matches the size */ @@ -335,7 +335,7 @@ gst_colorspace_srcconnect_func (GstPad *pad, GstCaps *caps, gboolean newcaps) if (colorspace_setup_converter (space, ourcaps, peercaps)) { if (gst_pad_try_set_caps (space->srcpad, peercaps)) { space->disabled = FALSE; - return GST_PAD_CONNECT_OK; + return GST_PAD_CONNECT_DONE; } } peercaps = peercaps->next; |