mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gnlghostpad: Add missing seqnum tweaking
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
This commit is contained in:
parent
d7e7b047d0
commit
73677edf60
1 changed files with 6 additions and 0 deletions
|
@ -299,6 +299,10 @@ translate_incoming_segment (GnlObject * object, GstEvent * event)
|
|||
GST_EVENT_SEQNUM (event2) = seqnum;
|
||||
gst_event_unref (event);
|
||||
|
||||
if (object->seqnum) {
|
||||
gst_event_set_seqnum (event, object->seqnum);
|
||||
}
|
||||
|
||||
return event2;
|
||||
}
|
||||
|
||||
|
@ -347,6 +351,8 @@ internalpad_event_function (GstPad * internal, GstObject * parent,
|
|||
case GST_EVENT_EOS:
|
||||
if (object->seqnum);
|
||||
gst_event_set_seqnum (event, object->seqnum);
|
||||
if (object->seqnum)
|
||||
gst_event_set_seqnum (event, object->seqnum);
|
||||
GST_INFO_OBJECT (object, "Tweaking seqnum to %i", object->seqnum);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue