mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gst/rtsp/rtspextwms.c: Fix compile warning when debug is disabled as spotted bu Saur on IRC.
Original commit message from CVS: * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_configure_stream): Fix compile warning when debug is disabled as spotted bu Saur on IRC.
This commit is contained in:
parent
70615818aa
commit
0b2e6f1c90
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-05-31 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_configure_stream):
|
||||||
|
Fix compile warning when debug is disabled as spotted bu Saur on IRC.
|
||||||
|
|
||||||
2007-05-30 Andy Wingo <wingo@pobox.com>
|
2007-05-30 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
* sys/v4l2/gstv4l2object.h:
|
* sys/v4l2/gstv4l2object.h:
|
||||||
|
|
|
@ -145,10 +145,12 @@ no_config:
|
||||||
static gboolean
|
static gboolean
|
||||||
rtsp_ext_wms_configure_stream (RTSPExtensionCtx * ctx, GstRTSPStream * stream)
|
rtsp_ext_wms_configure_stream (RTSPExtensionCtx * ctx, GstRTSPStream * stream)
|
||||||
{
|
{
|
||||||
GstRTSPSrc *src = (GstRTSPSrc *) ctx->src;
|
GstRTSPSrc *src;
|
||||||
GstStructure *s;
|
GstStructure *s;
|
||||||
const gchar *encoding;
|
const gchar *encoding;
|
||||||
|
|
||||||
|
src = (GstRTSPSrc *) ctx->src;
|
||||||
|
|
||||||
s = gst_caps_get_structure (stream->caps, 0);
|
s = gst_caps_get_structure (stream->caps, 0);
|
||||||
encoding = gst_structure_get_string (s, "encoding-name");
|
encoding = gst_structure_get_string (s, "encoding-name");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue