From: Wim Taymans Date: Fri, 4 Nov 2011 15:34:11 +0000 (+0100) Subject: more template fixes X-Git-Tag: 1.19.3~507^2~15967 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ec6da779780166d819e3791d5831b9c0fad4c8e;p=platform%2Fupstream%2Fgstreamer.git more template fixes --- diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index ad29f78..504df27 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -46,7 +46,7 @@ #include #include "gsthlsdemux.h" -static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src%d", +static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src_%u", GST_PAD_SRC, GST_PAD_SOMETIMES, GST_STATIC_CAPS_ANY); diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 7780ff7..e8032fa 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -20,7 +20,7 @@ * SECTION:element-sdpdemux * * sdpdemux currently understands SDP as the input format of the session description. - * For each stream listed in the SDP a new rtp_stream%d pad will be created + * For each stream listed in the SDP a new stream_%u pad will be created * with caps derived from the SDP media description. This is a caps of mime type * "application/x-rtp" that can be connected to any available RTP depayloader * element. @@ -89,7 +89,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/sdp")); -static GstStaticPadTemplate rtptemplate = GST_STATIC_PAD_TEMPLATE ("stream%d", +static GstStaticPadTemplate rtptemplate = GST_STATIC_PAD_TEMPLATE ("stream_%u", GST_PAD_SRC, GST_PAD_SOMETIMES, GST_STATIC_CAPS ("application/x-rtp"));