From 627f99396ae011179683493a25a434afa2e36d1c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 27 Jun 2007 11:36:24 +0000 Subject: gst/rtsp/gstrtspsrc.c: Cast stack args to the proper types. Fixes #451249. Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps): Cast stack args to the proper types. Fixes #451249. --- gst/rtsp/gstrtspsrc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gst/rtsp') diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 54bd15b8..0121d144 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1989,11 +1989,11 @@ gst_rtspsrc_configure_caps (GstRTSPSrc * src) caps = gst_caps_make_writable (caps); /* update caps */ if (stream->timebase != -1) - gst_caps_set_simple (caps, "clock-base", G_TYPE_UINT, stream->timebase, - NULL); + gst_caps_set_simple (caps, "clock-base", G_TYPE_UINT, + (guint) stream->timebase, NULL); if (stream->seqbase != -1) - gst_caps_set_simple (caps, "seqnum-base", G_TYPE_UINT, stream->seqbase, - NULL); + gst_caps_set_simple (caps, "seqnum-base", G_TYPE_UINT, + (guint) stream->seqbase, NULL); gst_caps_set_simple (caps, "npt-start", G_TYPE_UINT64, start, NULL); if (stop != -1) gst_caps_set_simple (caps, "npt-stop", G_TYPE_UINT64, stop, NULL); -- cgit