[vlc-devel] commit: rc module: fix snapshot command (Erwan Tulou )

git version control git at videolan.org
Tue Dec 1 21:31:18 CET 2009


vlc | branch: 1.0-bugfix | Erwan Tulou <erwan10 at videolan.org> | Tue Dec  1 21:10:44 2009 +0100| [71fabed50daf94f0b62ac176af969f8a480b7cb6] | committer: Erwan Tulou 

rc module: fix snapshot command

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

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

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 6363ed8..2fb6fc8 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1726,9 +1726,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
     }
     else if( !strcmp( psz_cmd, "snapshot" ) )
     {
-        vlc_value_t val;
-        val.b_bool = true;
-        i_error = var_Set( p_vout, psz_variable, val );
+        var_TriggerCallback( p_vout, psz_variable );
     }
     else
     {




More information about the vlc-devel mailing list