ActiveX: Improve subtitle and audio track JS bindings
authorCyril Mathé <cmathe@actech-innovation.com>
Mon, 18 May 2009 09:19:44 +0000 (11:19 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 26 May 2009 12:29:45 +0000 (14:29 +0200)
commitdd61c758140227e73a283bcfc121257a679b9b38
tree47265b3741d8d665af1250e1d1942ea440d36c83
parentbe4893df71096246c00b016612783f84219da237
ActiveX: 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/activex/axvlc.idl
projects/activex/vlccontrol2.cpp
projects/activex/vlccontrol2.h