mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
cf20f497cc
commit
627f99396a
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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)
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue