mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/gstclock.c: Reject invalid clock times for interval of periodic ids.
Original commit message from CVS: Patch by: René Stadler <mail at renestadler dot de> * gst/gstclock.c: (gst_clock_new_periodic_id): Reject invalid clock times for interval of periodic ids. Fixes ##383506.
This commit is contained in:
parent
1cca54b44c
commit
f26e917bc3
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-03-08 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: René Stadler <mail at renestadler dot de>
|
||||
|
||||
* gst/gstclock.c: (gst_clock_new_periodic_id):
|
||||
Reject invalid clock times for interval of periodic ids.
|
||||
Fixes ##383506.
|
||||
|
||||
2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/gstelementfactory.c: (gst_element_factory_create):
|
||||
|
|
|
@ -281,6 +281,7 @@ gst_clock_new_periodic_id (GstClock * clock, GstClockTime start_time,
|
|||
g_return_val_if_fail (GST_IS_CLOCK (clock), NULL);
|
||||
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (start_time), NULL);
|
||||
g_return_val_if_fail (interval != 0, NULL);
|
||||
g_return_val_if_fail (GST_CLOCK_TIME_IS_VALID (interval), NULL);
|
||||
|
||||
return gst_clock_entry_new (clock,
|
||||
start_time, interval, GST_CLOCK_ENTRY_PERIODIC);
|
||||
|
|
Loading…
Reference in a new issue