]> git.sesse.net Git - vlc/commit
moz-plugin: Improve subtitle and audio track JS bindings
authorCyril Mathé <cmathe@actech-innovation.com>
Fri, 15 May 2009 12:49:34 +0000 (14:49 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 26 May 2009 12:29:28 +0000 (14:29 +0200)
commitbe4893df71096246c00b016612783f84219da237
treeddf0f8b7d7c905cc3ba670dfda110f6a1ffdd762
parent058779048562059a3731be2f11dd1133623fb73e
moz-plugin: Improve subtitle and audio track JS bindings

- audio.count: give the number of available audio track
  - audio.description(int n): give the name of the n-th audio track
  - subtitle.count: give the number of available subtitle track
  - subtitle.description(int n): give the name of the n-th subtitle track
  - subtitle.track: get and set the subtitle track to show (similar as video.subtitle)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
projects/mozilla/control/npolibvlc.cpp
projects/mozilla/control/npolibvlc.h