mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
more template fixes
This commit is contained in:
parent
4642c67d30
commit
8ec6da7797
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@
|
|||
#include <gst/base/gsttypefindhelper.h>
|
||||
#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);
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue