Commit 5b8066fb authored by Olivier Aubert's avatar Olivier Aubert

bindings/python/vlc_instance.c: fix audio_set_volume method, closes #1195

parent ee4c83d5
...@@ -428,7 +428,7 @@ vlcInstance_audio_set_volume( PyObject *self, PyObject *args ) ...@@ -428,7 +428,7 @@ vlcInstance_audio_set_volume( PyObject *self, PyObject *args )
return NULL; return NULL;
LIBVLC_TRY; LIBVLC_TRY;
libvlc_audio_set_mute( LIBVLC_INSTANCE->p_instance, i_volume, &ex ); libvlc_audio_set_volume( LIBVLC_INSTANCE->p_instance, i_volume, &ex );
LIBVLC_EXCEPT; LIBVLC_EXCEPT;
Py_INCREF( Py_None ); Py_INCREF( Py_None );
return Py_None; return Py_None;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment