[MOVED FROM BAD 30/56] gst/deinterlace2/tvtime/: Fix build on x86_64
authorEdward Hervey <bilboed@bilboed.com>
Mon, 14 Jul 2008 14:13:54 +0000 (14:13 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 13 May 2009 08:34:00 +0000 (10:34 +0200)
Original commit message from CVS:
* gst/deinterlace2/tvtime/greedy.c:
(gst_deinterlace_method_greedy_l_class_init):
* gst/deinterlace2/tvtime/greedyh.c:
(gst_deinterlace_method_greedy_h_class_init):
* gst/deinterlace2/tvtime/vfir.c:
(gst_deinterlace_method_vfir_class_init):
Fix build on x86_64

gst/deinterlace2/tvtime/greedy.c
gst/deinterlace2/tvtime/greedyh.c
gst/deinterlace2/tvtime/vfir.c

index 434c332fca119c91c0dd93598ed105552bfb8790..9e398e75c2be62707e1da564cbb5ed3695dc59d4 100644 (file)
@@ -449,7 +449,9 @@ gst_deinterlace_method_greedy_l_class_init (GstDeinterlaceMethodGreedyLClass *
 {
   GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
   GObjectClass *gobject_class = (GObjectClass *) klass;
+#ifdef HAVE_CPU_I386
   guint cpu_flags = oil_cpu_get_flags ();
+#endif
 
   gobject_class->set_property = gst_deinterlace_method_greedy_l_set_property;
   gobject_class->get_property = gst_deinterlace_method_greedy_l_get_property;
index 7f26e0483c921fab624a8c86b05b3fb32b43ffd6..037c4dfc8f9157c59b795eb762e31907f1d52b7f 100644 (file)
@@ -363,7 +363,9 @@ gst_deinterlace_method_greedy_h_class_init (GstDeinterlaceMethodGreedyHClass *
 {
   GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
   GObjectClass *gobject_class = (GObjectClass *) klass;
+#ifdef HAVE_CPU_I386
   guint cpu_flags = oil_cpu_get_flags ();
+#endif
 
   gobject_class->set_property = gst_deinterlace_method_greedy_h_set_property;
   gobject_class->get_property = gst_deinterlace_method_greedy_h_get_property;
index fcfbaa6b39e1b5136b591ce79b5b79fbb5d4dfe1..0f46e6f492223d5afd739daccee9bc92347a0ecf 100644 (file)
@@ -207,7 +207,9 @@ static void
 gst_deinterlace_method_vfir_class_init (GstDeinterlaceMethodVFIRClass * klass)
 {
   GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
+#ifdef HAVE_CPU_I386
   guint cpu_flags = oil_cpu_get_flags ();
+#endif
 
   dim_class->fields_required = 2;
   dim_class->deinterlace_frame = deinterlace_frame_vfir;