videoflip: Forward src pad events upstream.

Fix passing navigation and other events upstream by actually sending them.

Fixes: #633205
This commit is contained in:
Jan Schmidt 2010-10-26 16:54:11 +01:00
parent ac70239020
commit 3ab2eeecb8

View file

@ -702,6 +702,7 @@ gst_video_flip_src_event (GstBaseTransform * trans, GstEvent * event)
GstVideoFlip *vf = GST_VIDEO_FLIP (trans); GstVideoFlip *vf = GST_VIDEO_FLIP (trans);
gdouble new_x, new_y, x, y; gdouble new_x, new_y, x, y;
GstStructure *structure; GstStructure *structure;
gboolean ret;
GST_DEBUG_OBJECT (vf, "handling %s event", GST_EVENT_TYPE_NAME (event)); 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; break;
} }
return TRUE; ret = GST_BASE_TRANSFORM_CLASS (parent_class)->src_event (trans, event);
return ret;
} }
static void static void