summaryrefslogtreecommitdiff
path: root/gst-plugin
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-06-10 13:17:18 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-06-10 13:17:18 +0100
commitc4f9a1897a254d640e822ad23df96ec74b0645b0 (patch)
tree11484472ae75dcfb2caf8478ce53e69fe8b909c5 /gst-plugin
parentafd75017e71129a200ca19ea68161f3526265e6a (diff)
gst-plugin: transform: fix code
Even if it's not built by default. https://bugzilla.gnome.org/show_bug.cgi?id=693355
Diffstat (limited to 'gst-plugin')
-rw-r--r--gst-plugin/src/gsttransform.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gst-plugin/src/gsttransform.c b/gst-plugin/src/gsttransform.c
index 536357b..af6c75b 100644
--- a/gst-plugin/src/gsttransform.c
+++ b/gst-plugin/src/gsttransform.c
@@ -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);
}