Mercurial > mplayer.hg
changeset 27804:bacaca1ac820
Fix smartblur filter crash due to missing default scaler choice;
set bicubic as the default scaler.
patch by Kurt Garloff, kurt garloff de
author | diego |
---|---|
date | Mon, 27 Oct 2008 21:00:12 +0000 |
parents | e6997a81f8cc |
children | 92f83263b154 |
files | libmpcodecs/vf_smartblur.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_smartblur.c Mon Oct 27 19:59:01 2008 +0000 +++ b/libmpcodecs/vf_smartblur.c Mon Oct 27 21:00:12 2008 +0000 @@ -93,7 +93,7 @@ swsF.lumH= swsF.lumV= vec; swsF.chrH= swsF.chrV= NULL; f->filterContext= sws_getContext( - width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, get_sws_cpuflags(), &swsF, NULL, NULL); + width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC | get_sws_cpuflags(), &swsF, NULL, NULL); sws_freeVec(vec);