Commit f7345bf5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

i420->yuv2 converter: disabled altivec usage if video's width isn't a multiple of 32

This fixes the video output on PowerPC based Macs. A proper fix would be welcome.

Forward-port of [c036a9961b04ef03e8ae6951c78f1e550e57395a]
parent 9f1c2185
......@@ -241,6 +241,8 @@ static void I420_YUY2( filter_t *p_filter, picture_t *p_source,
}
}
}
#warning FIXME: converting widths % 16 but !widths % 32 is broken on altivec
#if 0
else if( !( ( p_filter->fmt_in.video.i_width % 16 ) |
( p_filter->fmt_in.video.i_height % 4 ) ) )
{
......@@ -273,6 +275,7 @@ static void I420_YUY2( filter_t *p_filter, picture_t *p_source,
}
}
}
#endif
else
{
/* Crap, use the C version */
......
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