summaryrefslogtreecommitdiff
path: root/gst/videomixer/videomixer.c
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
committerSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
commitbaa3403ebe3f0028ca826fb8d7f56e9cbed05356 (patch)
tree7765d941dd576fcd3bf0cb297894e55fbbfe3207 /gst/videomixer/videomixer.c
parentb1065bf2a5159183bde18dcd95c988ea42b86f83 (diff)
downloadgst-plugins-good0.10-submit/master/20120920.151056.tar.gz
gst-plugins-good0.10-submit/master/20120920.151056.tar.bz2
gst-plugins-good0.10-submit/master/20120920.151056.zip
Diffstat (limited to 'gst/videomixer/videomixer.c')
-rw-r--r--gst/videomixer/videomixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index 7ab1de9..5a49b39 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -89,6 +89,8 @@
#include "videomixer.h"
#include "videomixer2.h"
+#include "gst/glib-compat-private.h"
+
#ifdef DISABLE_ORC
#define orc_memset memset
#else
@@ -664,10 +666,8 @@ gst_videomixer_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&src_factory));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_factory));
+ gst_element_class_add_static_pad_template (element_class, &src_factory);
+ gst_element_class_add_static_pad_template (element_class, &sink_factory);
gst_element_class_set_details_simple (element_class, "Video mixer",
"Filter/Editor/Video",