gst/gstpad.c: Fix one more signed/unsigned issue.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_event_default):
Fix one more signed/unsigned issue.
This commit is contained in:
Ronald S. Bultje 2005-04-22 10:13:22 +00:00
parent 3c8e11f0a3
commit e97710f04a
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-04-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstpad.c: (gst_pad_event_default):
Fix one more signed/unsigned issue.
2005-04-22 Luca Ognibene <luogni@tin.it> 2005-04-22 Luca Ognibene <luogni@tin.it>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>

View file

@ -4154,10 +4154,10 @@ gst_pad_event_default (GstPad * pad, GstEvent * event)
break; break;
case GST_EVENT_DISCONTINUOUS: case GST_EVENT_DISCONTINUOUS:
{ {
guint64 time; gint64 time;
if (gst_element_requires_clock (element) && element->clock) { if (gst_element_requires_clock (element) && element->clock) {
if (gst_event_discont_get_value (event, GST_FORMAT_TIME, &time)) { if (gst_event_discont_get_value (event, GST_FORMAT_TIME, time)) {
gst_element_set_time (element, time); gst_element_set_time (element, time);
} else { } else {
GstFormat format = GST_FORMAT_TIME; GstFormat format = GST_FORMAT_TIME;