vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Jul 4 19:17:01 2012 +0200| [dfa75177ec50284c23a4ca48b5ab94ec603d15ae] | committer: Felix Paul Kühne
swscale: expand Android hack to iOS > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dfa75177ec50284c23a4ca48b5ab94ec603d15ae --- modules/video_filter/swscale.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/video_filter/swscale.c b/modules/video_filter/swscale.c index 5678d02..43e9fc0 100644 --- a/modules/video_filter/swscale.c +++ b/modules/video_filter/swscale.c @@ -37,6 +37,10 @@ #include <libswscale/swscale.h> +#ifdef __APPLE__ +# include <TargetConditionals.h> +#endif + #include "../codec/avcodec/chroma.h" // Chroma Avutil <-> VLC conversion /* Gruikkkkkkkkkk!!!!! */ @@ -303,7 +307,7 @@ static int GetParameters( ScalerConfiguration *p_cfg, FixParameters( &i_fmti, &b_has_ai, &b_swap_uvi, p_fmti->i_chroma ); FixParameters( &i_fmto, &b_has_ao, &b_swap_uvo, p_fmto->i_chroma ); -#ifndef __ANDROID__ +#if !defined (__ANDROID__) || !TARGET_OS_IPHONE /* FIXME TODO removed when ffmpeg is fixed * Without SWS_ACCURATE_RND the quality is really bad for some conversions */ switch( i_fmto ) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
