projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201e3f7
)
x264enc: simplify template caps
author
Tim-Philipp Müller
<tim@centricular.net>
Fri, 8 Feb 2013 00:15:01 +0000
(
00:15
+0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 8 Feb 2013 00:15:01 +0000
(
00:15
+0000)
No need to make an array for one single element.
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index
68367a6
..
9b23586
100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-411,7
+411,7
@@
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
"framerate = (fraction) [0/1, MAX], "
"width = (int) [ 1, MAX ], " "height = (int) [ 1, MAX ], "
"stream-format = (string) { avc, byte-stream }, "
- "alignment = (string)
{ au }
, "
+ "alignment = (string)
au
, "
"profile = (string) { high-10, high, main, baseline, "
"constrained-baseline, high-10-intra }")
);