mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-27 23:44:47 +00:00
openh264: fix indentation
This commit is contained in:
parent
2f51985191
commit
41d8a49c52
2 changed files with 22 additions and 16 deletions
|
@ -111,8 +111,10 @@ gst_openh264dec_class_init (GstOpenh264DecClass * klass)
|
|||
|
||||
/* Setting up pads and setting metadata should be moved to
|
||||
base_class_init if you intend to subclass this class. */
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass), &gst_openh264dec_sink_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass), &gst_openh264dec_src_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
|
||||
&gst_openh264dec_sink_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
|
||||
&gst_openh264dec_src_template);
|
||||
|
||||
gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (klass),
|
||||
"OpenH264 video decoder", "Decoder/Video", "OpenH264 video decoder",
|
||||
|
|
|
@ -75,7 +75,8 @@ gst_openh264enc_rc_modes_get_type (void)
|
|||
static const GEnumValue rc_modes_types[] = {
|
||||
{RC_QUALITY_MODE, "Quality mode", "quality"},
|
||||
{RC_BITRATE_MODE, "Bitrate mode", "bitrate"},
|
||||
{RC_BUFFERBASED_MODE, "No bitrate control, just using buffer status", "buffer"},
|
||||
{RC_BUFFERBASED_MODE, "No bitrate control, just using buffer status",
|
||||
"buffer"},
|
||||
{RC_OFF_MODE, "Rate control off mode", "off"},
|
||||
{0, NULL, NULL},
|
||||
};
|
||||
|
@ -275,8 +276,10 @@ gst_openh264enc_class_init (GstOpenh264EncClass * klass)
|
|||
|
||||
/* Setting up pads and setting metadata should be moved to
|
||||
base_class_init if you intend to subclass this class. */
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass), &gst_openh264enc_src_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass), &gst_openh264enc_sink_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
|
||||
&gst_openh264enc_src_template);
|
||||
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),
|
||||
&gst_openh264enc_sink_template);
|
||||
|
||||
gst_element_class_set_static_metadata (GST_ELEMENT_CLASS (klass),
|
||||
"OpenH264 video encoder", "Encoder/Video", "OpenH264 video encoder",
|
||||
|
@ -376,8 +379,8 @@ gst_openh264enc_class_init (GstOpenh264EncClass * klass)
|
|||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_COMPLEXITY,
|
||||
g_param_spec_enum ("complexity", "Complexity / quality / speed tradeoff", "Complexity",
|
||||
GST_TYPE_OPENH264ENC_COMPLEXITY, DEFAULT_COMPLEXITY,
|
||||
g_param_spec_enum ("complexity", "Complexity / quality / speed tradeoff",
|
||||
"Complexity", GST_TYPE_OPENH264ENC_COMPLEXITY, DEFAULT_COMPLEXITY,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
}
|
||||
|
||||
|
@ -514,7 +517,8 @@ gst_openh264enc_set_property (GObject * object, guint property_id,
|
|||
break;
|
||||
|
||||
case PROP_COMPLEXITY:
|
||||
openh264enc->priv->complexity = (ECOMPLEXITY_MODE) g_value_get_enum (value);
|
||||
openh264enc->priv->complexity =
|
||||
(ECOMPLEXITY_MODE) g_value_get_enum (value);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue