Commit 5e9e10c6 authored by Simon Morlat's avatar Simon Morlat
Browse files

use FAST_BILINEAR

parent 2b15f87b
......@@ -169,7 +169,7 @@ static void android_display_process(MSFilter *f){
if (ad->sws==NULL){
ad->sws=ms_sws_getContext (vsize.width,vsize.height,PIX_FMT_YUV420P,
vrect.w,vrect.h,PIX_FMT_RGB565,SWS_BILINEAR,NULL,NULL,NULL);
vrect.w,vrect.h,PIX_FMT_RGB565,SWS_FAST_BILINEAR,NULL,NULL,NULL);
if (ad->sws==NULL){
ms_fatal("Could not obtain sws context !");
}
......
......@@ -116,7 +116,7 @@ static void android_display_process(MSFilter *f){
if (ad->sws==NULL){
ad->sws=ms_sws_getContext (vsize.width,vsize.height,PIX_FMT_YUV420P,
vrect.w,vrect.h,PIX_FMT_RGB565,SWS_BILINEAR,NULL,NULL,NULL);
vrect.w,vrect.h,PIX_FMT_RGB565,SWS_FAST_BILINEAR,NULL,NULL,NULL);
if (ad->sws==NULL){
ms_fatal("Could not obtain sws context !");
}
......
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