mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Fix up one-element lists in template caps
This commit is contained in:
parent
ffe59820d8
commit
7b8bd35d18
5 changed files with 5 additions and 5 deletions
|
@ -66,7 +66,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/mpeg, "
|
||||
"mpegversion = (int) { 1 }, "
|
||||
"mpegversion = (int) 1, "
|
||||
"layer = (int) [ 1, 3 ], "
|
||||
"rate = (int) { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, "
|
||||
"channels = (int) [ 1, 2 ], " "parsed = (boolean) true ")
|
||||
|
|
|
@ -56,7 +56,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) { " GST_AUDIO_NE (S16) " }, "
|
||||
"format = (string) " GST_AUDIO_NE (S16) ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) { 48000, 24000, 16000, 12000, 8000 }, "
|
||||
"channels = (int) [ 1, 8 ] ")
|
||||
|
|
|
@ -57,7 +57,7 @@ static GstStaticPadTemplate adpcmenc_src_template =
|
|||
GST_PAD_SRC,
|
||||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-adpcm, "
|
||||
" layout=(string){dvi}, "
|
||||
" layout=(string)dvi, "
|
||||
" block_align = (int) [64, 8192], "
|
||||
" rate = (int)[ 1, MAX ], " "channels = (int)[1,2];")
|
||||
);
|
||||
|
|
|
@ -47,7 +47,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " GST_AUDIO_NE (S16) ", "
|
||||
"rate = (int) { 16000 }, "
|
||||
"rate = (int) 16000, "
|
||||
"channels = (int) 1")
|
||||
);
|
||||
/* *INDENT-ON* */
|
||||
|
|
|
@ -170,7 +170,7 @@ G_DEFINE_TYPE (GstUvcH264Src, gst_uvc_h264_src, GST_TYPE_BASE_CAMERA_SRC);
|
|||
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"framerate = " GST_VIDEO_FPS_RANGE ", " \
|
||||
"stream-format = (string) { byte-stream, avc }, " \
|
||||
"alignment = (string) { au }, " \
|
||||
"alignment = (string) au, " \
|
||||
"profile = (string) { high, main, baseline, constrained-baseline }"
|
||||
|
||||
static GstStaticPadTemplate vfsrc_template =
|
||||
|
|
Loading…
Reference in a new issue