diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,5 +1,10 @@ 2007-06-27 Wim Taymans <wim@fluendo.com> + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps): + Cast stack args to the proper types. Fixes #451249. + +2007-06-27 Wim Taymans <wim@fluendo.com> + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream), (new_session_pad), (gst_rtspsrc_setup_streams): * gst/rtsp/gstrtspsrc.h: 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); |