Fixed a small problem.

Original commit message from CVS:
Fixed a small problem.
This commit is contained in:
Zeeshan Ali 2005-11-04 18:03:07 +00:00
parent 09e894fec5
commit 61f87e1f1d
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-11-04 Zeeshan Ali <zeenix@gmail.com>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init), (gst_base_rtp_depayload_wait):
Fixed a small problem.
2005-11-04 Wim Taymans <wim@fluendo.com>
* examples/seeking/Makefile.am:

View file

@ -399,8 +399,11 @@ gst_base_rtp_depayload_wait (GstBaseRTPDepayload * filter, GstClockTime time)
{
GstClockID id;
g_return_if_fail (filter->clock != NULL);
g_return_if_fail (GST_CLOCK_TIME_IS_VALID (time));
if (filter->clock == NULL) {
GST_DEBUG_OBJECT (filter, "No clock given yet");
return;
}
id = gst_clock_new_single_shot_id (filter->clock, time);