Commit 423ce62b authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

plugin: fix unused variable compiler warning

parent c4f9a189
......@@ -199,11 +199,14 @@ gst_plugin_template_get_property (GObject * object, guint prop_id,
static gboolean
gst_plugin_template_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gboolean ret;
GstPluginTemplate *filter;
gboolean ret;
filter = GST_PLUGIN_TEMPLATE (parent);
GST_LOG_OBJECT (filter, "Received %s event: %" GST_PTR_FORMAT,
GST_EVENT_TYPE_NAME (event), event);
switch (GST_EVENT_TYPE (event)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment