gst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 9 Oct 2008 19:38:52 +0000 (19:38 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 9 Oct 2008 19:38:52 +0000 (19:38 +0000)
Original commit message from CVS:
* gst/deinterlace2/tvtime/tomsmocomp.c:
(gst_deinterlace_method_tomsmocomp_class_init):
Fix unused variable compiler warning when not building
X86 assembly.

ChangeLog
gst/deinterlace2/tvtime/tomsmocomp.c

index bf5cb73..113715b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * gst/deinterlace2/tvtime/tomsmocomp.c:
+       (gst_deinterlace_method_tomsmocomp_class_init):
+       Fix unused variable compiler warning when not building
+       X86 assembly.
+
 2008-10-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/flv/gstflvdemux.c: (gst_flv_demux_loop):
index 0565b6c..64e78c5 100644 (file)
@@ -164,7 +164,9 @@ static void
 {
   GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
   GObjectClass *gobject_class = (GObjectClass *) klass;
+#ifdef BUILD_X86_ASM
   guint cpu_flags = oil_cpu_get_flags ();
+#endif
 
   gobject_class->set_property = gst_deinterlace_method_tomsmocomp_set_property;
   gobject_class->get_property = gst_deinterlace_method_tomsmocomp_get_property;