From b3252c12a497dc509ab2e1843e6ea34c155157c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 4 Feb 2010 21:29:00 +0200 Subject: [PATCH] panoramix: obsolete bools are not deprecated aliases An obsolete item is one that is not used anymore. Aliases are used when the name of an item changes. For some reason, this also fixes a memory leak. Regression from [5768f29871cfc12975b86dae31a56f43250e7348]. --- modules/video_filter/panoramix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_filter/panoramix.c b/modules/video_filter/panoramix.c index 10b16e2e14..68819e24ca 100644 --- a/modules/video_filter/panoramix.c +++ b/modules/video_filter/panoramix.c @@ -165,9 +165,9 @@ vlc_module_begin() add_integer_with_range( CFG_PREFIX "bz-whitelevel-green", 0, 0, 255, NULL, GGAMMA_WL_TEXT, GGAMMA_WL_LONGTEXT, true ) add_integer_with_range( CFG_PREFIX "bz-whitelevel-blue", 0, 0, 255, NULL, BGAMMA_WL_TEXT, BGAMMA_WL_LONGTEXT, true ) #ifndef WIN32 - add_deprecated_alias( CFG_PREFIX "xinerama" ); + add_obsolete_bool( CFG_PREFIX "xinerama" ); #endif - add_deprecated_alias( CFG_PREFIX "offset-x" ) + add_obsolete_bool( CFG_PREFIX "offset-x" ) #endif add_string( CFG_PREFIX "active", NULL, NULL, ACTIVE_TEXT, ACTIVE_LONGTEXT, true ) -- 2.39.2