[vlc-devel] commit: panoramix: obsolete bools are not deprecated aliases ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 4 20:30:40 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  4 21:29:00 2010 +0200| [b3252c12a497dc509ab2e1843e6ea34c155157c6] | committer: Rémi Denis-Courmont 

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].

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

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

diff --git a/modules/video_filter/panoramix.c b/modules/video_filter/panoramix.c
index 10b16e2..68819e2 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 )




More information about the vlc-devel mailing list