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 bb55a85bd6ee9411c71d193cf17a95d6e9588260..b0ffbf6009930b5dca50200aa00b721cb7e90b53 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");