mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
openh264enc: set GST_PARAM_MUTABLE_PLAYING for bitrate/max-bitrate properties
This way is documented that these properties can be changed in any state https://bugzilla.gnome.org/show_bug.cgi?id=784988
This commit is contained in:
parent
11e8cf92f2
commit
e8f11615bd
1 changed files with 4 additions and 2 deletions
|
@ -296,13 +296,15 @@ gst_openh264enc_class_init (GstOpenh264EncClass * klass)
|
|||
g_param_spec_uint ("bitrate", "Bitrate",
|
||||
"Bitrate (in bits per second)",
|
||||
0, G_MAXUINT, DEFAULT_BITRATE,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
|
||||
GST_PARAM_MUTABLE_PLAYING)));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_BITRATE,
|
||||
g_param_spec_uint ("max-bitrate", "Max Bitrate",
|
||||
"Maximum Bitrate (in bits per second)",
|
||||
0, G_MAXUINT, DEFAULT_MAX_BITRATE,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
|
||||
GST_PARAM_MUTABLE_PLAYING)));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_QP_MIN,
|
||||
g_param_spec_uint ("qp-min", "Minimum Quantizer",
|
||||
|
|
Loading…
Reference in a new issue