videoflip: Forward src pad events upstream.
authorJan Schmidt <thaytan@noraisin.net>
Tue, 26 Oct 2010 15:54:11 +0000 (16:54 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 27 Oct 2010 10:59:07 +0000 (11:59 +0100)
Fix passing navigation and other events upstream by actually sending them.

Fixes: #633205

gst/videofilter/gstvideoflip.c

index 7b3e2a9..150017b 100644 (file)
@@ -702,6 +702,7 @@ gst_video_flip_src_event (GstBaseTransform * trans, GstEvent * event)
   GstVideoFlip *vf = GST_VIDEO_FLIP (trans);
   gdouble new_x, new_y, x, y;
   GstStructure *structure;
+  gboolean ret;
 
   GST_DEBUG_OBJECT (vf, "handling %s event", GST_EVENT_TYPE_NAME (event));
 
@@ -757,7 +758,9 @@ gst_video_flip_src_event (GstBaseTransform * trans, GstEvent * event)
       break;
   }
 
-  return TRUE;
+  ret = GST_BASE_TRANSFORM_CLASS (parent_class)->src_event (trans, event);
+
+  return ret;
 }
 
 static void