various (gst): add a missing G_PARAM_STATIC_STRINGS flags
[platform/upstream/gstreamer.git] / gst / rtp / gstrtph263ppay.c
index 6049cb3..0a547db 100644 (file)
@@ -57,13 +57,6 @@ gst_fragmentation_mode_get_type (void)
 GST_DEBUG_CATEGORY_STATIC (rtph263ppay_debug);
 #define GST_CAT_DEFAULT rtph263ppay_debug
 
-/* elementfactory information */
-static const GstElementDetails gst_rtp_h263ppay_details =
-GST_ELEMENT_DETAILS ("RTP H263 payloader",
-    "Codec/Payloader/Network",
-    "Payload-encodes H263/+/++ video in RTP packets (RFC 4629)",
-    "Wim Taymans <wim.taymans@gmail.com>");
-
 static GstStaticPadTemplate gst_rtp_h263p_pay_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
@@ -110,7 +103,10 @@ gst_rtp_h263p_pay_base_init (gpointer klass)
   gst_element_class_add_pad_template (element_class,
       gst_static_pad_template_get (&gst_rtp_h263p_pay_sink_template));
 
-  gst_element_class_set_details (element_class, &gst_rtp_h263ppay_details);
+  gst_element_class_set_details_simple (element_class, "RTP H263 payloader",
+      "Codec/Payloader/Network",
+      "Payload-encodes H263/+/++ video in RTP packets (RFC 4629)",
+      "Wim Taymans <wim.taymans@gmail.com>");
 }
 
 static void
@@ -133,7 +129,8 @@ gst_rtp_h263p_pay_class_init (GstRtpH263PPayClass * klass)
       PROP_FRAGMENTATION_MODE, g_param_spec_enum ("fragmentation-mode",
           "Fragmentation Mode",
           "Packet Fragmentation Mode", GST_TYPE_FRAGMENTATION_MODE,
-          DEFAULT_FRAGMENTATION_MODE, G_PARAM_READWRITE));
+          DEFAULT_FRAGMENTATION_MODE,
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   GST_DEBUG_CATEGORY_INIT (rtph263ppay_debug, "rtph263ppay",
       0, "rtph263ppay (RFC 4629)");