mpeg2enc: increase max. allowed value for bitrate property
authorTim-Philipp Müller <tim@centricular.com>
Sun, 1 Jun 2014 09:43:49 +0000 (10:43 +0100)
committerTim-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

index ae4a738..b27a70f 100644 (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",