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

gst-plugin: transform: fix code

Even if it's not built by default.

https://bugzilla.gnome.org/show_bug.cgi?id=693355
parent afd75017
......@@ -37,8 +37,8 @@
#endif
#include <gst/gst.h>
#include <gst/base/gstbasetransform.h>
#include <gst/controller/gstcontroller.h>
#include <gst/base/base.h>
#include <gst/controller/controller.h>
#include "gsttransform.h"
......@@ -180,7 +180,7 @@ gst_plugin_template_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
GstPluginTemplate *filter = GST_PLUGIN_TEMPLATE (base);
if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (outbuf)))
gst_object_sync_values (G_OBJECT (filter), GST_BUFFER_TIMESTAMP (outbuf));
gst_object_sync_values (GST_OBJECT (filter), GST_BUFFER_TIMESTAMP (outbuf));
if (filter->silent == FALSE)
g_print ("I'm plugged, therefore I'm in.\n");
......@@ -199,9 +199,6 @@ gst_plugin_template_transform_ip (GstBaseTransform * base, GstBuffer * outbuf)
static gboolean
plugin_init (GstPlugin * plugin)
{
/* initialize gst controller library */
gst_controller_init(NULL, NULL);
return gst_element_register (plugin, "plugin", GST_RANK_NONE,
GST_TYPE_PLUGIN_TEMPLATE);
}
......
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