summaryrefslogtreecommitdiff
path: root/gst/y4m
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-18 14:31:35 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-18 14:32:00 +0100
commitcccfeaa59c3447be82eea26e4ce66d95ae8c22db (patch)
tree5cf8b52dd0a04f0824f8f51d1f82a8f195d592ee /gst/y4m
parentbc1b65bee3e7b2af24567aac66961911ab003ecf (diff)
gst_element_class_set_details => gst_element_class_set_details_simple
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mencode.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c
index 2bdf864ed..e8975ef42 100644
--- a/gst/y4m/gsty4mencode.c
+++ b/gst/y4m/gsty4mencode.c
@@ -47,13 +47,6 @@
#include <gst/video/video.h>
#include "gsty4mencode.h"
-static const GstElementDetails y4mencode_details =
-GST_ELEMENT_DETAILS ("YUV4MPEG video encoder",
- "Codec/Encoder/Video",
- "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
- "Wim Taymans <wim.taymans@gmail.com>");
-
-
/* Filter signals and args */
enum
{
@@ -105,7 +98,10 @@ gst_y4m_encode_base_init (gpointer g_class)
gst_static_pad_template_get (&y4mencode_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&y4mencode_sink_factory));
- gst_element_class_set_details (element_class, &y4mencode_details);
+ gst_element_class_set_details_simple (element_class, "YUV4MPEG video encoder",
+ "Codec/Encoder/Video",
+ "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void