mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
basesink: Handle the new sink-message event
This commit is contained in:
parent
fee1ad3a0a
commit
cb28889b11
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue