projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7bab4
)
x264enc: increase bitrate limit from 100Mbps to 2Gbps
author
Arjen Veenhuizen
<arjen.veenhuizen@tno.nl>
Thu, 26 Nov 2015 15:49:47 +0000
(15:49 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 26 Nov 2015 15:49:47 +0000
(15:49 +0000)
Don't artificially limit the bitrate, x264enc allows much
higher bitrates, and for intra-only 4k AVC they are needed.
x264 clips to 2Gbps internally, so use that as limit for now.
https://bugzilla.gnome.org/show_bug.cgi?id=758620
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index 1ca61f4684a4a4366b8508bfe3e1ce4e5a31f88a..2be4ab2b0d57a39318d61a0220cf0b750411e383 100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-811,7
+811,7
@@
gst_x264_enc_class_init (GstX264EncClass * klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_BITRATE,
g_param_spec_uint ("bitrate", "Bitrate", "Bitrate in kbit/sec", 1,
-
1
00 * 1024, ARG_BITRATE_DEFAULT,
+
20
00 * 1024, ARG_BITRATE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_MUTABLE_PLAYING));
g_object_class_install_property (gobject_class, ARG_VBV_BUF_CAPACITY,