[vlc-devel] commit: The variable was already created by config_ChainParse. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jun 25 17:41:56 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 25 17:32:45 2009 +0200| [94df46b9387a19712f1ff2cb50f665bf89d8bbdb] | committer: Rémi Duraffort 

The variable was already created by config_ChainParse.

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

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

diff --git a/modules/video_filter/postproc.c b/modules/video_filter/postproc.c
index c3b8c04..945925b 100644
--- a/modules/video_filter/postproc.c
+++ b/modules/video_filter/postproc.c
@@ -202,8 +202,7 @@ static int OpenPostproc( vlc_object_t *p_this )
     var_Get( p_filter, FILTER_PREFIX "q", &val_orig );
     var_Change( p_filter, FILTER_PREFIX "q", VLC_VAR_DELCHOICE, &val_orig, NULL );
 
-    val.psz_string = var_CreateGetNonEmptyStringCommand(
-                                            p_filter, FILTER_PREFIX "name" );
+    val.psz_string = var_GetNonEmptyString( p_filter, FILTER_PREFIX "name" );
     if( val_orig.i_int )
     {
         p_sys->pp_mode = pp_get_mode_by_name_and_quality( val.psz_string ?




More information about the vlc-devel mailing list