diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index 3d38c6c59d..715f10715a 100644 --- a/plugins/elements/gstfdsrc.c +++ b/plugins/elements/gstfdsrc.c @@ -634,7 +634,7 @@ gst_fd_src_uri_set_uri (GstURIHandler * handler, const gchar * uri) gchar *protocol, *q; GstFdSrc *src = GST_FD_SRC (handler); gint fd; - guint64 size = -1; + guint64 size = (guint64) - 1; GST_INFO_OBJECT (src, "checking uri %s", uri); diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index a98d301d56..4da47350fc 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -638,7 +638,7 @@ gst_input_selector_wait_running_time (GstInputSelector * sel, GstPad *active_sinkpad; GstSelectorPad *active_selpad; GstSegment *seg, *active_seg; - GstClockTime running_time, active_running_time = -1; + GstClockTime running_time, active_running_time = GST_CLOCK_TIME_NONE; seg = &pad->segment;