[vlc-commits] python: remove references to obsolete API
Olivier Aubert
git at videolan.org
Sun Oct 7 00:08:17 CEST 2018
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Sat Oct 6 23:12:07 2018 +0200| [8e9dccb9be1343c67805d0d3cdf421fe1a6a6cab] | committer: Olivier Aubert
python: remove references to obsolete API
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=8e9dccb9be1343c67805d0d3cdf421fe1a6a6cab
---
generator/templates/override.py | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/generator/templates/override.py b/generator/templates/override.py
index 3de106b..536c8f8 100644
--- a/generator/templates/override.py
+++ b/generator/templates/override.py
@@ -109,10 +109,7 @@ class Instance:
i = head
while i:
i = i.contents
- d = [{'id': libvlc_audio_output_device_id (self, i.name, d),
- 'longname': libvlc_audio_output_device_longname(self, i.name, d)}
- for d in range(libvlc_audio_output_device_count (self, i.name))]
- r.append({'name': i.name, 'description': i.description, 'devices': d})
+ r.append({'name': i.name, 'description': i.description})
i = i.next
libvlc_audio_output_list_release(head)
return r
@@ -262,18 +259,6 @@ class MediaPlayer: #PYCHOK expected (comment is lost)
"""
return track_description_list(libvlc_video_get_spu_description(self))
- def video_get_title_description(self):
- """Get the description of available titles.
- """
- return track_description_list(libvlc_video_get_title_description(self))
-
- def video_get_chapter_description(self, title):
- """Get the description of available chapters for specific title.
-
- @param title: selected title (int)
- """
- return track_description_list(libvlc_video_get_chapter_description(self, title))
-
def video_get_track_description(self):
"""Get the description of available video tracks.
"""
More information about the vlc-commits
mailing list