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:
5dfd112
)
x264enc: don't artificially limit max allowed value of "threads" property
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 May 2015 16:58:18 +0000
(17:58 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 May 2015 16:58:18 +0000
(17:58 +0100)
In auto mode it will happily chose much higher values anyway,
and a limit of 4 seems a bit low these days.
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index
c52bf1a
..
9b6bbbd
100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-763,7
+763,7
@@
gst_x264_enc_class_init (GstX264EncClass * klass)
g_object_class_install_property (gobject_class, ARG_THREADS,
g_param_spec_uint ("threads", "Threads",
"Number of threads used by the codec (0 for automatic)",
- 0,
4
, ARG_THREADS_DEFAULT,
+ 0,
G_MAXINT
, ARG_THREADS_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* NOTE: this first string append doesn't require the ':' delimiter but the
* rest do */