summaryrefslogtreecommitdiffstats
path: root/ext/snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snapshot')
-rw-r--r--ext/snapshot/gstsnapshot.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c
index 60ca50d3..4b89f6c1 100644
--- a/ext/snapshot/gstsnapshot.c
+++ b/ext/snapshot/gstsnapshot.c
@@ -29,12 +29,10 @@
#define MAX_HEIGHT 2048
/* elementfactory information */
-static GstElementDetails snapshot_details = {
- "snapshot",
- "Filter/Editor/Video",
- "Dump a frame to a png file",
- "Jeremy SIMON <jsimon13@yahoo.fr>",
-};
+static GstElementDetails snapshot_details = GST_ELEMENT_DETAILS ("Snapshot",
+ "Filter/Editor/Video",
+ "Dump a frame to a png file",
+ "Jeremy SIMON <jsimon13@yahoo.fr>");
static GstStaticPadTemplate snapshot_src_factory =
GST_STATIC_PAD_TEMPLATE ("src",