forked from pool/python-python-vlc
Accepting request 547920 from multimedia:libs
- Added libvlc5 as runtime requirement - Update to version 2.2.6100: * Python bindings: fix regexp to handle deprecated APIs * Rename gtkvlc.py to gtk2vlc.py (using old pygtk2 version) * Gtk3 example * python bindings generator: handle bitshifted chars in enums * python-vlc: allow to specify lib and plugin path * python bindings: update generator version number * Python bindings: update generated bindings for 2.2 and dev. versions * python bindings: configure logging module when running standalone * python bindings: refactor, move template files to their own directory * Generate an appropriate PyPI installer package for the generated module - Initial release of python-python-vlc 1.1.2 OBS-URL: https://build.opensuse.org/request/show/547920 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-vlc?expand=0&rev=1
This commit is contained in:
23
fix-docs.patch
Normal file
23
fix-docs.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Index: python-vlc-1.1.2/README.module
|
||||
===================================================================
|
||||
--- python-vlc-1.1.2.orig/README.module
|
||||
+++ python-vlc-1.1.2/README.module
|
||||
@@ -42,12 +42,14 @@ directory as the libvlc.dll file (standa
|
||||
|
||||
>>> import vlc
|
||||
>>> vlc.libvlc_get_version()
|
||||
- '1.0.0 Goldeneye'
|
||||
+ '2.2.6 Umbrella'
|
||||
- >>> e=vlc.VLCException()
|
||||
- >>> i=vlc.libvlc_new(0, [], e)
|
||||
+ >>> i=vlc.libvlc_new(0, [])
|
||||
>>> i
|
||||
<vlc.Instance object at 0x8384a4c>
|
||||
- >>> vlc.libvlc_audio_get_volume(i,e)
|
||||
+ >>> p=vlc.libvlc_media_player_new(i)
|
||||
+ >>> p
|
||||
+ <vlc.MediaPlayer object at 0x7f7a40d0af28>
|
||||
+ >>> vlc.libvlc_audio_get_volume(p)
|
||||
50
|
||||
|
||||
- Using wrapper classes:
|
Reference in New Issue
Block a user