summaryrefslogtreecommitdiff
path: root/ext/resindvd/rsnparsetter.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/resindvd/rsnparsetter.c')
-rw-r--r--ext/resindvd/rsnparsetter.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/ext/resindvd/rsnparsetter.c b/ext/resindvd/rsnparsetter.c
index 65de2ac31..a4206aaf8 100644
--- a/ext/resindvd/rsnparsetter.c
+++ b/ext/resindvd/rsnparsetter.c
@@ -56,19 +56,17 @@ rsn_parsetter_register_extra (GType rsn_parsetter_type)
static void
rsn_parsetter_base_init (gpointer gclass)
{
- static GstElementDetails element_details = {
- "Resin Aspect Ratio Setter",
- "Filter/Video",
- "Overrides caps on video buffers to force a particular display ratio",
- "Jan Schmidt <thaytan@noraisin.net>"
- };
+
GstElementClass *element_class = GST_ELEMENT_CLASS (gclass);
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details (element_class, &element_details);
+ gst_element_class_set_details_simple (element_class,
+ "Resin Aspect Ratio Setter", "Filter/Video",
+ "Overrides caps on video buffers to force a particular display ratio",
+ "Jan Schmidt <thaytan@noraisin.net>");
}
static void