mpeg2enc: increase max. allowed value for bitrate property

For DVD the limit is around 10Mbit/s, but for e.g. ATSC
it could be much higher.
This commit is contained in:
Tim-Philipp Müller 2014-06-01 10:43:49 +01:00
parent ef143252d0
commit 0eed275a51

View file

@ -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, 10 * 1000, DEFAULT_BITRATE,
0, 40 * 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",