projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef14325
)
mpeg2enc: increase max. allowed value for bitrate property
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Jun 2014 09:43:49 +0000
(10:43 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 1 Jun 2014 09:47:17 +0000
(10:47 +0100)
For DVD the limit is around 10Mbit/s, but for e.g. ATSC
it could be much higher.
ext/mpeg2enc/gstmpeg2encoptions.cc
patch
|
blob
|
history
diff --git
a/ext/mpeg2enc/gstmpeg2encoptions.cc
b/ext/mpeg2enc/gstmpeg2encoptions.cc
index
ae4a738
..
b27a70f
100644
(file)
--- a/
ext/mpeg2enc/gstmpeg2encoptions.cc
+++ b/
ext/mpeg2enc/gstmpeg2encoptions.cc
@@
-335,7
+335,7
@@
GstMpeg2EncOptions::initProperties (GObjectClass * klass)
/* general encoding stream options */
g_object_class_install_property (klass, ARG_BITRATE,
g_param_spec_int ("bitrate", "Bitrate", "Compressed video bitrate (kbps)",
- 0,
1
0 * 1000, DEFAULT_BITRATE,
+ 0,
4
0 * 1000, DEFAULT_BITRATE,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_NONVIDEO_BITRATE,
g_param_spec_int ("non-video-bitrate", "Non-video bitrate",