summaryrefslogtreecommitdiff
path: root/sys/dxr3
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 17:30:26 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 22:46:41 +0100
commit775c7584fdad53053ae5b22bb19074cc6022ee98 (patch)
tree149c7daf4efd3ecaf17a179949e20b44347859ab /sys/dxr3
parent5258d372be503da09fa21fbde28afe619bc0cdc1 (diff)
downloadgstreamer-plugins-bad-775c7584fdad53053ae5b22bb19074cc6022ee98.tar.gz
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'sys/dxr3')
-rw-r--r--sys/dxr3/dxr3audiosink.c15
-rw-r--r--sys/dxr3/dxr3spusink.c15
-rw-r--r--sys/dxr3/dxr3videosink.c15
3 files changed, 12 insertions, 33 deletions
diff --git a/sys/dxr3/dxr3audiosink.c b/sys/dxr3/dxr3audiosink.c
index 284ced261..d7bd6881d 100644
--- a/sys/dxr3/dxr3audiosink.c
+++ b/sys/dxr3/dxr3audiosink.c
@@ -45,16 +45,6 @@
the original AC3 stream. The result is expressed as MPEG2. */
#define TIME_FOR_BYTES(bytes) (((bytes) * 90) / 48)
-
-/* ElementFactory information. */
-static GstElementDetails dxr3audiosink_details = {
- "dxr3/Hollywood+ mpeg decoder board audio plugin",
- "Audio/Sink",
- "Feeds audio to Sigma Designs em8300 based boards",
- "Martin Soto <martinsoto@users.sourceforge.net>"
-};
-
-
/* Dxr3AudioSink signals and args */
enum
{
@@ -162,7 +152,10 @@ dxr3audiosink_base_init (Dxr3AudioSinkClass * klass)
gst_static_pad_template_get (&dxr3audiosink_pcm_sink_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&dxr3audiosink_ac3_sink_factory));
- gst_element_class_set_details (element_class, &dxr3audiosink_details);
+ gst_element_class_set_details_simple (element_class,
+ "dxr3/Hollywood+ mpeg decoder board audio plugin", "Audio/Sink",
+ "Feeds audio to Sigma Designs em8300 based boards",
+ "Martin Soto <martinsoto@users.sourceforge.net>");
}
static void
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c
index 0b220f8c7..0ea924390 100644
--- a/sys/dxr3/dxr3spusink.c
+++ b/sys/dxr3/dxr3spusink.c
@@ -38,16 +38,6 @@
#include "dxr3common.h"
-
-/* ElementFactory information. */
-static GstElementDetails dxr3spusink_details = {
- "dxr3/Hollywood+ mpeg decoder board subpicture element",
- "Sink/Video",
- "Feeds subpicture information to Sigma Designs em8300 based boards",
- "Martin Soto <martinsoto@users.sourceforge.net>"
-};
-
-
/* Dxr3SpuSink signals and args */
enum
{
@@ -138,7 +128,10 @@ dxr3spusink_base_init (Dxr3SpuSinkClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&dxr3spusink_sink_factory));
- gst_element_class_set_details (element_class, &dxr3spusink_details);
+ gst_element_class_set_details_simple (element_class,
+ "dxr3/Hollywood+ mpeg decoder board subpicture element", "Sink/Video",
+ "Feeds subpicture information to Sigma Designs em8300 based boards",
+ "Martin Soto <martinsoto@users.sourceforge.net>");
}
static void
diff --git a/sys/dxr3/dxr3videosink.c b/sys/dxr3/dxr3videosink.c
index 475cfbdd7..2f86f0681 100644
--- a/sys/dxr3/dxr3videosink.c
+++ b/sys/dxr3/dxr3videosink.c
@@ -38,16 +38,6 @@
#include "dxr3common.h"
-
-/* ElementFactory information. */
-static GstElementDetails dxr3videosink_details = {
- "dxr3/Hollywood+ mpeg decoder board video element",
- "Sink/Video",
- "Feeds MPEG2 video to Sigma Designs em8300 based boards",
- "Martin Soto <martinsoto@users.sourceforge.net>"
-};
-
-
/* Dxr3VideoSink signals and args */
enum
{
@@ -163,7 +153,10 @@ dxr3videosink_base_init (Dxr3VideoSinkClass * klass)
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&dxr3videosink_sink_factory));
- gst_element_class_set_details (element_class, &dxr3videosink_details);
+ gst_element_class_set_details_simple (element_class,
+ "dxr3/Hollywood+ mpeg decoder board video element", "Sink/Video",
+ "Feeds MPEG2 video to Sigma Designs em8300 based boards",
+ "Martin Soto <martinsoto@users.sourceforge.net>");
}
static void