Commit 74aedd07 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Sebastian Dröge
Browse files

[MOVED FROM BAD 30/56] gst/deinterlace2/tvtime/: Fix build on x86_64

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
parent 239face7
...@@ -449,7 +449,9 @@ gst_deinterlace_method_greedy_l_class_init (GstDeinterlaceMethodGreedyLClass * ...@@ -449,7 +449,9 @@ gst_deinterlace_method_greedy_l_class_init (GstDeinterlaceMethodGreedyLClass *
{ {
GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
GObjectClass *gobject_class = (GObjectClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass;
#ifdef HAVE_CPU_I386
guint cpu_flags = oil_cpu_get_flags (); guint cpu_flags = oil_cpu_get_flags ();
#endif
gobject_class->set_property = gst_deinterlace_method_greedy_l_set_property; gobject_class->set_property = gst_deinterlace_method_greedy_l_set_property;
gobject_class->get_property = gst_deinterlace_method_greedy_l_get_property; gobject_class->get_property = gst_deinterlace_method_greedy_l_get_property;
......
...@@ -363,7 +363,9 @@ gst_deinterlace_method_greedy_h_class_init (GstDeinterlaceMethodGreedyHClass * ...@@ -363,7 +363,9 @@ gst_deinterlace_method_greedy_h_class_init (GstDeinterlaceMethodGreedyHClass *
{ {
GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
GObjectClass *gobject_class = (GObjectClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass;
#ifdef HAVE_CPU_I386
guint cpu_flags = oil_cpu_get_flags (); guint cpu_flags = oil_cpu_get_flags ();
#endif
gobject_class->set_property = gst_deinterlace_method_greedy_h_set_property; gobject_class->set_property = gst_deinterlace_method_greedy_h_set_property;
gobject_class->get_property = gst_deinterlace_method_greedy_h_get_property; gobject_class->get_property = gst_deinterlace_method_greedy_h_get_property;
......
...@@ -207,7 +207,9 @@ static void ...@@ -207,7 +207,9 @@ static void
gst_deinterlace_method_vfir_class_init (GstDeinterlaceMethodVFIRClass * klass) gst_deinterlace_method_vfir_class_init (GstDeinterlaceMethodVFIRClass * klass)
{ {
GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass; GstDeinterlaceMethodClass *dim_class = (GstDeinterlaceMethodClass *) klass;
#ifdef HAVE_CPU_I386
guint cpu_flags = oil_cpu_get_flags (); guint cpu_flags = oil_cpu_get_flags ();
#endif
dim_class->fields_required = 2; dim_class->fields_required = 2;
dim_class->deinterlace_frame = deinterlace_frame_vfir; dim_class->deinterlace_frame = deinterlace_frame_vfir;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment