[vlc-commits] activex: allow to parse item and retreive information before playing
Pierre Lamot
git at videolan.org
Tue Nov 21 16:25:27 CET 2017
npapi-vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Oct 5 19:24:19 2017 +0200| [5cd1ab4859c2783985f32ff521cca3f643edc120] | committer: Jean-Baptiste Kempf
activex: allow to parse item and retreive information before playing
VLC ActiveX API doesn't follow libvlc API and doesn't expose Media to the user
so preparse is made by allowing to preparse a specific item from the playlist.
Informations about the media can be retreive using the same API (video.width, ...),
throught a fallback when the MediaPlayer isn't playing.
parse will only allow parsing the first item of the playlist, as other item, and information
about them, are only accessible by playing them.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> https://code.videolan.org/videolan/npapi-vlc/commit/5cd1ab4859c2783985f32ff521cca3f643edc120
---
activex/axvlc.idl | 3 +
activex/vlccontrol2.cpp | 298 ++++++++++++++++++++++++++++++++++++++++++++----
activex/vlccontrol2.h | 1 +
common/vlc_player.cpp | 73 ++++++++++++
common/vlc_player.h | 4 +
5 files changed, 356 insertions(+), 23 deletions(-)
Diff: https://code.videolan.org/videolan/npapi-vlc/commit/5cd1ab4859c2783985f32ff521cca3f643edc120
More information about the vlc-commits
mailing list