[vlc-devel] commit: This module scales with nearest neightboor algorithm ... lower it' s capability score so that swscale will be used if available instead. ( Antoine Cellerier )

git version control git at videolan.org
Mon Jun 2 18:59:09 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Jun  2 18:34:05 2008 +0200| [66902e1ba79b6181caa26b3420a60831e4f7faf8]

This module scales with nearest neightboor algorithm ... lower it's capability score so that swscale will be used if available instead.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66902e1ba79b6181caa26b3420a60831e4f7faf8
---

 modules/video_filter/scale.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/video_filter/scale.c b/modules/video_filter/scale.c
index b27aa24..7b86ef4 100644
--- a/modules/video_filter/scale.c
+++ b/modules/video_filter/scale.c
@@ -57,9 +57,7 @@ static picture_t *Filter( filter_t *, picture_t * );
  *****************************************************************************/
 vlc_module_begin();
     set_description( N_("Video scaling filter") );
-    set_capability( "video filter2", 10000 );
-//    set_category( CAT_VIDEO );
-//    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
+    set_capability( "video filter2", 10 );
     set_callbacks( OpenFilter, CloseFilter );
 vlc_module_end();
 




More information about the vlc-devel mailing list