projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0d4986
)
vp8enc: Expose VP8 width/height limitations in the caps template
author
Olivier Crête
<olivier.crete@collabora.com>
Wed, 1 Apr 2015 23:01:49 +0000
(19:01 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Wed, 1 Apr 2015 23:31:18 +0000
(19:31 -0400)
The VP8 format specification (RFC 6386 section 18.1) specifies
that the maximum size is 16383x16383.
ext/vpx/gstvp8enc.c
patch
|
blob
|
history
diff --git
a/ext/vpx/gstvp8enc.c
b/ext/vpx/gstvp8enc.c
index
9d38de3
..
a3dd6f0
100644
(file)
--- a/
ext/vpx/gstvp8enc.c
+++ b/
ext/vpx/gstvp8enc.c
@@
-385,7
+385,10
@@
static GstStaticPadTemplate gst_vp8_enc_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("I420"))
+ GST_STATIC_CAPS ("video/x-raw, "
+ "format = (string) \"I420\", "
+ "width = (int) [1, 16383], "
+ "height = (int) [1, 16383], framerate = (fraction) [ 0/1, MAX ]")
);
static GstStaticPadTemplate gst_vp8_enc_src_template =