basesink: Handle the new sink-message event

This commit is contained in:
Sebastian Dröge 2009-11-18 07:59:36 +01:00
parent fee1ad3a0a
commit cb28889b11

View file

@ -2771,6 +2771,14 @@ again:
gst_base_sink_configure_segment (basesink, pad, event,
&basesink->segment);
break;
case GST_EVENT_SINK_MESSAGE:{
GstMessage *msg = NULL;
gst_event_parse_sink_message (event, &msg);
if (msg)
gst_element_post_message (GST_ELEMENT_CAST (basesink), msg);
}
default:
break;
}