]> git.sesse.net Git - vlc/commitdiff
bindings/python/vlc_input.c: update to match
authorOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Thu, 3 Jan 2008 18:51:36 +0000 (18:51 +0000)
committerOlivier Aubert <olivier.aubert@liris.cnrs.fr>
Thu, 3 Jan 2008 18:51:36 +0000 (18:51 +0000)
libvlc_video_take_snapshot API change (it would be nice to grep the
VLC source, or at least the bindings directory, for the symbol when
doing such a change).

bindings/python/vlc_input.c

index 32dd0239e16214e3d8d704e408036df1ff3e1286..c321ac5a47e84cd274beb91e792305c2a076fd6a 100644 (file)
@@ -296,7 +296,7 @@ vlcInput_video_take_snapshot( PyObject *self, PyObject *args )
         return NULL;
 
     LIBVLC_TRY;
-    libvlc_video_take_snapshot( LIBVLC_INPUT->p_md, psz_filename, &ex);
+    libvlc_video_take_snapshot( LIBVLC_INPUT->p_md, psz_filename, 0, 0, &ex);
     LIBVLC_EXCEPT;
     Py_INCREF( Py_None );
     return Py_None;