[gst-cvs] gst-plugins-good: videomixer: orc_init() doesn't need to be called

David Schleef ds at kemper.freedesktop.org
Sun Sep 5 18:46:31 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 85aed946761a643c4299d58df827aedfb3bb80fc
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=85aed946761a643c4299d58df827aedfb3bb80fc

Author: David Schleef <ds at schleef.org>
Date:   Sun Sep  5 18:45:21 2010 -0700

videomixer: orc_init() doesn't need to be called

There's no need to call orc_init() unless you're using the Orc
API directly.  All code created by orcc is guaranteed to work
without calling orc_init().

---

 gst/videomixer/blend.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/gst/videomixer/blend.c b/gst/videomixer/blend.c
index b0ffbf6..9ca6168 100644
--- a/gst/videomixer/blend.c
+++ b/gst/videomixer/blend.c
@@ -32,9 +32,6 @@
 #include <string.h>
 
 #include <gst/video/video.h>
-#ifdef HAVE_ORC
-#include <orc/orc.h>
-#endif
 
 #define BLEND(D,S,alpha) (((D) * (256 - (alpha)) + (S) * (alpha)) >> 8)
 
@@ -722,10 +719,6 @@ 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");
 





More information about the Gstreamer-commits mailing list