summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjen Veenhuizen <arjen.veenhuizen@tno.nl>2015-11-26 15:49:47 +0000
committerTim-Philipp Müller <tim@centricular.com>2015-11-26 16:05:46 +0000
commitf8769e74dc14401f667dbf0ed765214fbfa16658 (patch)
tree2f2b753bc7704ca099afcfa99fb6dfab1b8c18c8
parent19d6f0ca51a4095945d7dbcfd9997ec9fc0f616e (diff)
x264enc: increase bitrate limit from 100Mbps to 2Gbps
Don't artificially limit the bitrate, x264 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
-rw-r--r--ext/x264/gstx264enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index dd1236c2..fc1e810d 100644
--- 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,
- 100 * 1024, ARG_BITRATE_DEFAULT,
+ 2000 * 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,