mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
identity: also track and store segment info in single segment mode
This commit is contained in:
parent
7c24fc7450
commit
8e98ce54e1
1 changed files with 3 additions and 0 deletions
|
@ -307,6 +307,9 @@ gst_identity_sink_event (GstBaseTransform * trans, GstEvent * event)
|
|||
news = gst_event_new_segment (&segment);
|
||||
|
||||
gst_pad_event_default (trans->sinkpad, GST_OBJECT_CAST (trans), news);
|
||||
} else {
|
||||
/* need to track segment for proper running time */
|
||||
gst_event_copy_segment (event, &trans->segment);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue