summaryrefslogtreecommitdiff
path: root/sys/v4l
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-16 14:45:23 (GMT)
committerBenjamin Otte <otte@redhat.com>2010-03-16 16:41:50 (GMT)
commit5e21fa5e0e21d112a7e1c6fbed35d8669d37d061 (patch)
tree5badbb558ed6fba1e6717bd83431699b1ab00cfc /sys/v4l
parent6cc138436c3d8443249797bf2889b657ff491aa9 (diff)
downloadgst-plugins-base-5e21fa5e0e21d112a7e1c6fbed35d8669d37d061.tar.gz
gst-plugins-base-5e21fa5e0e21d112a7e1c6fbed35d8669d37d061.tar.xz
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/v4l')
-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
4 files changed, 16 insertions, 32 deletions
diff --git a/sys/v4l/gstv4ljpegsrc.c b/sys/v4l/gstv4ljpegsrc.c
index c640cb4..724a66f 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 ed1e926..3a5cfaa 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 fbe10a4..61860a1 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 0858364..c0b5f78 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));