summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-16 15:45:23 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-16 17:41:50 +0100
commit5e21fa5e0e21d112a7e1c6fbed35d8669d37d061 (patch)
tree5badbb558ed6fba1e6717bd83431699b1ab00cfc /sys
parent6cc138436c3d8443249797bf2889b657ff491aa9 (diff)
downloadgstreamer-plugins-base-5e21fa5e0e21d112a7e1c6fbed35d8669d37d061.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l/gstv4ljpegsrc.c12
-rw-r--r--sys/v4l/gstv4lmjpegsink.c12
-rw-r--r--sys/v4l/gstv4lmjpegsrc.c12
-rw-r--r--sys/v4l/gstv4lsrc.c12
-rw-r--r--sys/ximage/ximagesink.c11
-rw-r--r--sys/xvimage/xvimagesink.c11
6 files changed, 22 insertions, 48 deletions
diff --git a/sys/v4l/gstv4ljpegsrc.c b/sys/v4l/gstv4ljpegsrc.c
index c640cb427..724a66fdf 100644
--- a/sys/v4l/gstv4ljpegsrc.c
+++ b/sys/v4l/gstv4ljpegsrc.c
@@ -29,13 +29,6 @@
#include "gstv4ljpegsrc.h"
#include "v4lsrc_calls.h"
-/* elementfactory information */
-static const GstElementDetails gst_v4ljpegsrc_details =
-GST_ELEMENT_DETAILS ("Video (video4linux/raw) Jpeg Source",
- "Source/Video",
- "Reads jpeg frames from a video4linux (eg ov519) device",
- "Jan Schmidt <thaytan@mad.scientist.com>");
-
GST_DEBUG_CATEGORY_STATIC (v4ljpegsrc_debug);
#define GST_CAT_DEFAULT v4ljpegsrc_debug
@@ -85,7 +78,10 @@ gst_v4ljpegsrc_base_init (gpointer g_class)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (gstelement_class, &gst_v4ljpegsrc_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Video (video4linux/raw) Jpeg Source", "Source/Video",
+ "Reads jpeg frames from a video4linux (eg ov519) device",
+ "Jan Schmidt <thaytan@mad.scientist.com>");
}
static void
diff --git a/sys/v4l/gstv4lmjpegsink.c b/sys/v4l/gstv4lmjpegsink.c
index ed1e92670..3a5cfaa6d 100644
--- a/sys/v4l/gstv4lmjpegsink.c
+++ b/sys/v4l/gstv4lmjpegsink.c
@@ -30,13 +30,6 @@
GST_DEBUG_CATEGORY_STATIC (v4lmjpegsink_debug);
#define GST_CAT_DEFAULT v4lmjpegsink_debug
-/* elementfactory information */
-static const GstElementDetails gst_v4lmjpegsink_details =
-GST_ELEMENT_DETAILS ("Video (video4linux/MJPEG) sink",
- "Sink/Video",
- "Writes MJPEG-encoded frames to a zoran MJPEG/video4linux device",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
-
/* v4lmjpegsink signals and args */
enum
{
@@ -117,7 +110,10 @@ gst_v4lmjpegsink_base_init (gpointer g_class)
);
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (gstelement_class, &gst_v4lmjpegsink_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Video (video4linux/MJPEG) sink", "Sink/Video",
+ "Writes MJPEG-encoded frames to a zoran MJPEG/video4linux device",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_template));
diff --git a/sys/v4l/gstv4lmjpegsrc.c b/sys/v4l/gstv4lmjpegsrc.c
index fbe10a4c0..61860a18f 100644
--- a/sys/v4l/gstv4lmjpegsrc.c
+++ b/sys/v4l/gstv4lmjpegsrc.c
@@ -30,13 +30,6 @@
GST_DEBUG_CATEGORY (v4lmjpegsrc_debug);
#define GST_CAT_DEFAULT v4lmjpegsrc_debug
-/* elementfactory information */
-static const GstElementDetails gst_v4lmjpegsrc_details =
-GST_ELEMENT_DETAILS ("Video (video4linux/MJPEG) Source",
- "Source/Video",
- "Reads MJPEG-encoded frames from a zoran MJPEG/video4linux device",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
-
/* V4lMjpegSrc signals and args */
enum
{
@@ -146,7 +139,10 @@ gst_v4lmjpegsrc_base_init (gpointer g_class)
);
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (gstelement_class, &gst_v4lmjpegsrc_details);
+ gst_element_class_set_details_sinmple (gstelement_class,
+ "Video (video4linux/MJPEG) Source", "Source/Video",
+ "Reads MJPEG-encoded frames from a zoran MJPEG/video4linux device",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&src_template));
diff --git a/sys/v4l/gstv4lsrc.c b/sys/v4l/gstv4lsrc.c
index 085836450..c0b5f780a 100644
--- a/sys/v4l/gstv4lsrc.c
+++ b/sys/v4l/gstv4lsrc.c
@@ -30,13 +30,6 @@
#include <sys/ioctl.h>
-static const GstElementDetails gst_v4lsrc_details =
-GST_ELEMENT_DETAILS ("Video (video4linux/raw) Source",
- "Source/Video",
- "Reads raw frames from a video4linux device",
- "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
-
-
GST_DEBUG_CATEGORY_STATIC (v4lsrc_debug);
#define GST_CAT_DEFAULT v4lsrc_debug
@@ -79,7 +72,10 @@ gst_v4lsrc_base_init (gpointer g_class)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (gstelement_class, &gst_v4lsrc_details);
+ gst_element_class_set_details_simple (gstelement_class,
+ "Video (video4linux/raw) Source", "Source/Video",
+ "Reads raw frames from a video4linux device",
+ "GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>");
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&v4l_src_template));
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index aeac91265..629ba6373 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -135,13 +135,6 @@ static void gst_ximagesink_xwindow_update_geometry (GstXImageSink * ximagesink,
GstXWindow * xwindow);
static void gst_ximagesink_expose (GstXOverlay * overlay);
-/* ElementFactory information */
-static const GstElementDetails gst_ximagesink_details =
-GST_ELEMENT_DETAILS ("Video sink",
- "Sink/Video",
- "A standard X based videosink",
- "Julien Moutte <julien@moutte.net>");
-
static GstStaticPadTemplate gst_ximagesink_sink_template_factory =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
@@ -2321,7 +2314,9 @@ gst_ximagesink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_ximagesink_details);
+ gst_element_class_set_details_simple (element_class,
+ "Video sink", "Sink/Video",
+ "A standard X based videosink", "Julien Moutte <julien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_ximagesink_sink_template_factory));
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 2892c2cd5..5591ec035 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -153,13 +153,6 @@ static gint gst_xvimagesink_get_format_from_caps (GstXvImageSink * xvimagesink,
GstCaps * caps);
static void gst_xvimagesink_expose (GstXOverlay * overlay);
-/* ElementFactory information */
-static const GstElementDetails gst_xvimagesink_details =
-GST_ELEMENT_DETAILS ("Video sink",
- "Sink/Video",
- "A Xv based videosink",
- "Julien Moutte <julien@moutte.net>");
-
/* Default template - initiated with class struct to allow gst-register to work
without X running */
static GstStaticPadTemplate gst_xvimagesink_sink_template_factory =
@@ -3432,7 +3425,9 @@ gst_xvimagesink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_set_details (element_class, &gst_xvimagesink_details);
+ gst_element_class_set_details_simple (element_class,
+ "Video sink", "Sink/Video",
+ "A Xv based videosink", "Julien Moutte <julien@moutte.net>");
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_xvimagesink_sink_template_factory));