mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
basesink: Print some debug output if a stream-start event without group-id arrives
Ideally all elements would implement handling of that to get proper stream-start message handling and other things.
This commit is contained in:
parent
9bc26c5f25
commit
0a41beaa56
1 changed files with 6 additions and 1 deletions
|
@ -3014,8 +3014,13 @@ gst_base_sink_default_event (GstBaseSink * basesink, GstEvent * event)
|
|||
GST_DEBUG_OBJECT (basesink, "Now posting STREAM_START (seqnum:%d)",
|
||||
seqnum);
|
||||
message = gst_message_new_stream_start (GST_OBJECT_CAST (basesink));
|
||||
if (gst_event_parse_group_id (event, &group_id))
|
||||
if (gst_event_parse_group_id (event, &group_id)) {
|
||||
gst_message_set_group_id (message, group_id);
|
||||
} else {
|
||||
GST_FIXME_OBJECT (basesink, "stream-start event without group-id. "
|
||||
"Consider implementing group-id handling in the upstream "
|
||||
"elements");
|
||||
}
|
||||
gst_message_set_seqnum (message, seqnum);
|
||||
gst_element_post_message (GST_ELEMENT_CAST (basesink), message);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue