videomixer: Only init orc if it is available
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 5 Sep 2010 23:56:52 +0000 (20:56 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 5 Sep 2010 23:56:52 +0000 (20:56 -0300)
Put some ifdef around orc_init to prevent build errors

gst/videomixer/blend.c

index bb55a85..b0ffbf6 100644 (file)
@@ -722,7 +722,9 @@ FillColorFunction gst_video_mixer_fill_color_uyvy;
 void
 gst_video_mixer_init_blend (void)
 {
+#ifdef HAVE_ORC
   orc_init ();
+#endif
 
   GST_DEBUG_CATEGORY_INIT (gst_videomixer_blend_debug, "videomixer_blend", 0,
       "video mixer blending functions");