summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-06-27 11:36:24 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-06-27 11:36:24 +0000
commit627f99396ae011179683493a25a434afa2e36d1c (patch)
tree6a7ba18280b8bc015a5c4dc1286bddd18e418b8b /gst/rtsp
parentcf20f497cc48191c384db59cf20494e8a87fed3e (diff)
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.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c8
1 files changed, 4 insertions, 4 deletions
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);