From: <wt...@ke...> - 2007-06-27 11:36:46
|
CVS Root: /cvs/gstreamer Module: gst-plugins-good Changes by: wtay Date: Wed Jun 27 2007 11:36:38 UTC Log message: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps): Cast stack args to the proper types. Fixes #451249. Modified files: . : ChangeLog gst/rtsp : gstrtspsrc.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3003&r2=1.3004 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/rtsp/gstrtspsrc.c.diff?r1=1.92&r2=1.93 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v retrieving revision 1.3003 retrieving revision 1.3004 diff -u -d -r1.3003 -r1.3004 --- ChangeLog 27 Jun 2007 11:04:46 -0000 1.3003 +++ ChangeLog 27 Jun 2007 11:36:24 -0000 1.3004 @@ -1,5 +1,10 @@ 2007-06-27 Wim Taymans <wi...@fl...> + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps): + Cast stack args to the proper types. Fixes #451249. + +2007-06-27 Wim Taymans <wi...@fl...> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream), (new_session_pad), (gst_rtspsrc_setup_streams): * gst/rtsp/gstrtspsrc.h: Index: gstrtspsrc.c RCS file: /cvs/gstreamer/gst-plugins-good/gst/rtsp/gstrtspsrc.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -d -r1.92 -r1.93 --- gstrtspsrc.c 27 Jun 2007 11:04:47 -0000 1.92 +++ gstrtspsrc.c 27 Jun 2007 11:36:24 -0000 1.93 @@ -1989,11 +1989,11 @@ 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, + 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); |