Commit 627f9939 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent cf20f497
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> 2007-06-27 Wim Taymans <wim@fluendo.com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream), * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
......
...@@ -1989,11 +1989,11 @@ gst_rtspsrc_configure_caps (GstRTSPSrc * src) ...@@ -1989,11 +1989,11 @@ gst_rtspsrc_configure_caps (GstRTSPSrc * src)
caps = gst_caps_make_writable (caps); caps = gst_caps_make_writable (caps);
/* update caps */ /* update caps */
if (stream->timebase != -1) if (stream->timebase != -1)
gst_caps_set_simple (caps, "clock-base", G_TYPE_UINT, stream->timebase, gst_caps_set_simple (caps, "clock-base", G_TYPE_UINT,
NULL); (guint) stream->timebase, NULL);
if (stream->seqbase != -1) if (stream->seqbase != -1)
gst_caps_set_simple (caps, "seqnum-base", G_TYPE_UINT, stream->seqbase, gst_caps_set_simple (caps, "seqnum-base", G_TYPE_UINT,
NULL); (guint) stream->seqbase, NULL);
gst_caps_set_simple (caps, "npt-start", G_TYPE_UINT64, start, NULL); gst_caps_set_simple (caps, "npt-start", G_TYPE_UINT64, start, NULL);
if (stop != -1) if (stop != -1)
gst_caps_set_simple (caps, "npt-stop", G_TYPE_UINT64, stop, NULL); gst_caps_set_simple (caps, "npt-stop", G_TYPE_UINT64, stop, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment