]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/commands/cmd_snapshot.cpp
Kill stupid VOUT_SNAPSHOT control.
[vlc] / modules / gui / skins2 / commands / cmd_snapshot.cpp
index 80d12ca310944c314d3bddf7e31f102e0f485500..bc2b0208688c388d71344ae338f463c72ff807fa 100644 (file)
@@ -34,7 +34,7 @@ void CmdSnapshot::execute()
     if( pVout )
     {
         // Take a snapshot
-        vout_Control( pVout, VOUT_SNAPSHOT );
+        var_TriggerCallback( pVout, "video-snapshot" );
         vlc_object_release( pVout );
     }
 }