From c52b138a8d4ea0a6b81721a0fa4321c68a569bb9 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 21 Nov 2012 13:34:15 +1100 Subject: [PATCH] [604/906] gst_element_class_set_details_simple() => gst_element_class_set_metadata() --- ext/libvisual/visual-gl.c | 2 +- gst/gl/gstglbumper.c | 2 +- gst/gl/gstglcolorscale.c | 2 +- gst/gl/gstgldeinterlace.c | 2 +- gst/gl/gstgldifferencematte.c | 2 +- gst/gl/gstgleffects.c | 2 +- gst/gl/gstglfilterapp.c | 2 +- gst/gl/gstglfilterblur.c | 2 +- gst/gl/gstglfiltercube.c | 2 +- gst/gl/gstglfilterglass.c | 2 +- gst/gl/gstglfilterlaplacian.c | 2 +- gst/gl/gstglfilterreflectedscreen.c | 2 +- gst/gl/gstglfiltershader.c | 2 +- gst/gl/gstglfiltersobel.c | 2 +- gst/gl/gstglimagesink.c | 2 +- gst/gl/gstglmosaic.c | 2 +- gst/gl/gstgloverlay.c | 2 +- gst/gl/gstgltestsrc.c | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ext/libvisual/visual-gl.c b/ext/libvisual/visual-gl.c index 3bbc3df5a8..5411e1af84 100644 --- a/ext/libvisual/visual-gl.c +++ b/ext/libvisual/visual-gl.c @@ -221,7 +221,7 @@ gst_visual_gl_class_init (gpointer g_class, gpointer class_data) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&sink_template)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, longname, "Visualization", klass->plugin->info->about, "Benjamin Otte "); diff --git a/gst/gl/gstglbumper.c b/gst/gl/gstglbumper.c index 7208278b78..0d86ded397 100644 --- a/gst/gl/gstglbumper.c +++ b/gst/gl/gstglbumper.c @@ -285,7 +285,7 @@ gst_gl_bumper_class_init (GstGLBumperClass * klass) "Normal map location", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, "OpenGL bumper filter", + gst_element_class_set_metadata (element_class, "OpenGL bumper filter", "Filter/Effect", "Bump mapping filter", "Cyril Comparon , " "Julien Isorce "); diff --git a/gst/gl/gstglcolorscale.c b/gst/gl/gstglcolorscale.c index 260d58c0c3..aeb41a8f65 100644 --- a/gst/gl/gstglcolorscale.c +++ b/gst/gl/gstglcolorscale.c @@ -89,7 +89,7 @@ gst_gl_colorscale_class_init (GstGLColorscaleClass * klass) gobject_class->set_property = gst_gl_colorscale_set_property; gobject_class->get_property = gst_gl_colorscale_get_property; - gst_element_class_set_details_simple (element_class, "OpenGL color scale", + gst_element_class_set_metadata (element_class, "OpenGL color scale", "Filter/Effect", "Colorspace converter and video scaler", "Julien Isorce "); diff --git a/gst/gl/gstgldeinterlace.c b/gst/gl/gstgldeinterlace.c index 6c82f9ab03..09ba653c58 100644 --- a/gst/gl/gstgldeinterlace.c +++ b/gst/gl/gstgldeinterlace.c @@ -87,7 +87,7 @@ gst_gl_deinterlace_class_init (GstGLDeinterlaceClass * klass) gobject_class->set_property = gst_gl_deinterlace_set_property; gobject_class->get_property = gst_gl_deinterlace_get_property; - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "OpenGL deinterlacing filter", "Deinterlace", "Deinterlacing based on fragment shaders", "Julien Isorce "); diff --git a/gst/gl/gstgldifferencematte.c b/gst/gl/gstgldifferencematte.c index 843a6141f6..085d968deb 100644 --- a/gst/gl/gstgldifferencematte.c +++ b/gst/gl/gstgldifferencematte.c @@ -194,7 +194,7 @@ gst_gl_differencematte_class_init (GstGLDifferenceMatteClass * klass) "Background image location", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Gstreamer OpenGL DifferenceMatte", "Filter/Effect", "Saves a background frame and replace it with a pixbuf", "Filippo Argiolas "); diff --git a/gst/gl/gstgleffects.c b/gst/gl/gstgleffects.c index e62af4b44b..8f4852c9da 100644 --- a/gst/gl/gstgleffects.c +++ b/gst/gl/gstgleffects.c @@ -260,7 +260,7 @@ gst_gl_effects_class_init (GstGLEffectsClass * klass) "Switch video texture left to right, useful with webcams", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Gstreamer OpenGL Effects", "Filter/Effect", "GL Shading Language effects", "Filippo Argiolas "); diff --git a/gst/gl/gstglfilterapp.c b/gst/gl/gstglfilterapp.c index 1f6bc86fb3..c89ef2ae09 100644 --- a/gst/gl/gstglfilterapp.c +++ b/gst/gl/gstglfilterapp.c @@ -104,7 +104,7 @@ gst_gl_filter_app_class_init (GstGLFilterAppClass * klass) "Pass data to the draw and reshape callbacks", G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "OpenGL application filter", "Filter/Effect", "Use client callbacks to define the scene", "Julien Isorce "); diff --git a/gst/gl/gstglfilterblur.c b/gst/gl/gstglfilterblur.c index ad8dd7bb4e..3eb017c165 100644 --- a/gst/gl/gstglfilterblur.c +++ b/gst/gl/gstglfilterblur.c @@ -102,7 +102,7 @@ gst_gl_filterblur_class_init (GstGLFilterBlurClass * klass) gobject_class->set_property = gst_gl_filterblur_set_property; gobject_class->get_property = gst_gl_filterblur_get_property; - gst_element_class_set_details_simple (element_class, "Gstreamer OpenGL Blur", + gst_element_class_set_metadata (element_class, "Gstreamer OpenGL Blur", "Filter/Effect", "Blur with 9x9 separable convolution", "Filippo Argiolas "); diff --git a/gst/gl/gstglfiltercube.c b/gst/gl/gstglfiltercube.c index 8e8d7c3d90..3127a17d86 100644 --- a/gst/gl/gstglfiltercube.c +++ b/gst/gl/gstglfiltercube.c @@ -178,7 +178,7 @@ gst_gl_filter_cube_class_init (GstGLFilterCubeClass * klass) "Specifies the distance from the viewer to the far clipping plane", 0.0, 1000.0, 100.0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, "OpenGL cube filter", + gst_element_class_set_metadata (element_class, "OpenGL cube filter", "Filter/Effect", "Map input texture on the 6 cube faces", "Julien Isorce "); } diff --git a/gst/gl/gstglfilterglass.c b/gst/gl/gstglfilterglass.c index c2c2e4e2ac..619ca69b05 100644 --- a/gst/gl/gstglfilterglass.c +++ b/gst/gl/gstglfilterglass.c @@ -111,7 +111,7 @@ gst_gl_filter_glass_class_init (GstGLFilterGlassClass * klass) gobject_class->set_property = gst_gl_filter_glass_set_property; gobject_class->get_property = gst_gl_filter_glass_get_property; - gst_element_class_set_details_simple (element_class, "OpenGL glass filter", + gst_element_class_set_metadata (element_class, "OpenGL glass filter", "Filter/Effect", "Glass Filter", "Julien Isorce "); diff --git a/gst/gl/gstglfilterlaplacian.c b/gst/gl/gstglfilterlaplacian.c index c2f4fd3b43..4baa6c9d6b 100644 --- a/gst/gl/gstglfilterlaplacian.c +++ b/gst/gl/gstglfilterlaplacian.c @@ -108,7 +108,7 @@ gst_gl_filter_laplacian_class_init (GstGLFilterLaplacianClass * klass) gobject_class->set_property = gst_gl_filter_laplacian_set_property; gobject_class->get_property = gst_gl_filter_laplacian_get_property; - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "OpenGL laplacian filter", "Filter/Effect", "Laplacian Convolution Demo Filter", "Filippo Argiolas "); diff --git a/gst/gl/gstglfilterreflectedscreen.c b/gst/gl/gstglfilterreflectedscreen.c index 63dda6aabd..91e28c4e33 100644 --- a/gst/gl/gstglfilterreflectedscreen.c +++ b/gst/gl/gstglfilterreflectedscreen.c @@ -134,7 +134,7 @@ gst_gl_filter_reflected_screen_class_init (GstGLFilterReflectedScreenClass * "Specifies the distance from the viewer to the far clipping plane", 0.0, 1000.0, 100.0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "OpenGL Reflected Screen filter", "Filter/Effect", "Reflected Screen Filter", "Pierre POUZOL "); } diff --git a/gst/gl/gstglfiltershader.c b/gst/gl/gstglfiltershader.c index 4a8e13b0aa..cd30aef191 100644 --- a/gst/gl/gstglfiltershader.c +++ b/gst/gl/gstglfiltershader.c @@ -132,7 +132,7 @@ gst_gl_filtershader_class_init (GstGLFilterShaderClass * klass) "Set the shader uniform variables", NULL, G_PARAM_WRITABLE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "OpenGL fragment shader filter", "Filter/Effect", "Load GLSL fragment shader from file", ""); diff --git a/gst/gl/gstglfiltersobel.c b/gst/gl/gstglfiltersobel.c index 43ca1eb241..00cc4a32c6 100644 --- a/gst/gl/gstglfiltersobel.c +++ b/gst/gl/gstglfiltersobel.c @@ -130,7 +130,7 @@ gst_gl_filtersobel_class_init (GstGLFilterSobelClass * klass) "Invert colors to get dark edges on bright background", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Gstreamer OpenGL Sobel", "Filter/Effect", "Sobel edge detection", "Filippo Argiolas "); } diff --git a/gst/gl/gstglimagesink.c b/gst/gl/gstglimagesink.c index 9a36f2951b..8b95620ab3 100644 --- a/gst/gl/gstglimagesink.c +++ b/gst/gl/gstglimagesink.c @@ -187,7 +187,7 @@ gst_glimage_sink_class_init (GstGLImageSinkClass * klass) "The pixel aspect ratio of the device", "1/1", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, "OpenGL video sink", + gst_element_class_set_metadata (element_class, "OpenGL video sink", "Sink/Video", "A videosink based on OpenGL", "Julien Isorce "); diff --git a/gst/gl/gstglmosaic.c b/gst/gl/gstglmosaic.c index 41484e588b..a8f54cf140 100644 --- a/gst/gl/gstglmosaic.c +++ b/gst/gl/gstglmosaic.c @@ -124,7 +124,7 @@ gst_gl_mosaic_class_init (GstGLMosaicClass * klass) gobject_class->set_property = gst_gl_mosaic_set_property; gobject_class->get_property = gst_gl_mosaic_get_property; - gst_element_class_set_details_simple (element_class, "OpenGL mosaic", + gst_element_class_set_metadata (element_class, "OpenGL mosaic", "Filter/Effect", "OpenGL mosaic", "Julien Isorce "); diff --git a/gst/gl/gstgloverlay.c b/gst/gl/gstgloverlay.c index ef778c9162..2f1ac71f2c 100644 --- a/gst/gl/gstgloverlay.c +++ b/gst/gl/gstgloverlay.c @@ -220,7 +220,7 @@ gst_gl_overlay_class_init (GstGLOverlayClass * klass) "choose ratio video between 0 and 3\n \t\t\t0 : Default ratio\n\t\t\t1 : 4 / 3\n\t\t\t2 : 16 / 9\n\t\t\t3 : 16 / 10", 0, 3, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, + gst_element_class_set_metadata (element_class, "Gstreamer OpenGL Overlay", "Filter/Effect", "Overlay GL video texture with a PNG image", "Filippo Argiolas "); diff --git a/gst/gl/gstgltestsrc.c b/gst/gl/gstgltestsrc.c index 94229550c0..67e04f4ef9 100644 --- a/gst/gl/gstgltestsrc.c +++ b/gst/gl/gstgltestsrc.c @@ -153,7 +153,7 @@ gst_gl_test_src_class_init (GstGLTestSrcClass * klass) "Whether to act as a live source", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_set_details_simple (element_class, "Video test source", + gst_element_class_set_metadata (element_class, "Video test source", "Source/Video", "Creates a test video stream", "David A. Schleef ");