summaryrefslogtreecommitdiff
path: root/omx/gstomx_volume.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomx_volume.c')
-rw-r--r--omx/gstomx_volume.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/omx/gstomx_volume.c b/omx/gstomx_volume.c
index 61c7f79..6ca8cf0 100644
--- a/omx/gstomx_volume.c
+++ b/omx/gstomx_volume.c
@@ -67,16 +67,11 @@ type_base_init (gpointer g_class)
element_class = GST_ELEMENT_CLASS (g_class);
- {
- GstElementDetails details;
-
- details.longname = "OpenMAX IL Volume component";
- details.klass = "Filter/Effect/Audio";
- details.description = "Changes the volume with OpenMAX IL";
- details.author = "Frederik Vernelen";
-
- gst_element_class_set_details (element_class, &details);
- }
+ gst_element_class_set_details_simple (element_class,
+ "OpenMAX IL Volume component",
+ "Filter/Effect/Audio",
+ "Changes the volume with OpenMAX IL",
+ "Frederik Vernelen");
{
GstPadTemplate *template;