mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
event: Allow GST_CLOCK_TIME_NONE as duration for GAP events
This commit is contained in:
parent
9f42bd643e
commit
e683cf0596
1 changed files with 0 additions and 1 deletions
|
@ -568,7 +568,6 @@ gst_event_new_gap (GstClockTime timestamp, GstClockTime duration)
|
||||||
GstEvent *event;
|
GstEvent *event;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (timestamp), NULL);
|
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (timestamp), NULL);
|
||||||
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (duration), NULL);
|
|
||||||
|
|
||||||
GST_CAT_TRACE (GST_CAT_EVENT, "creating gap %" GST_TIME_FORMAT " - "
|
GST_CAT_TRACE (GST_CAT_EVENT, "creating gap %" GST_TIME_FORMAT " - "
|
||||||
"%" GST_TIME_FORMAT " (duration: %" GST_TIME_FORMAT ")",
|
"%" GST_TIME_FORMAT " (duration: %" GST_TIME_FORMAT ")",
|
||||||
|
|
Loading…
Reference in a new issue