Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use some additional bindings in media player #8

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

mdehaussy
Copy link

I've added these functions to media player :

  • setTime -> allow to seek in a file at a position in ms (libvlc_media_player_set_time)
  • getTime -> get file position in ms (libvlc_media_player_get_time)
  • setPosition -> allow to seek in a file at a position in percent (from 0.0 to 1.0) (libvlc_media_player_set_position)
  • getPosition -> get file position in percent (from 0.0 to 1.0) (libvlc_media_player_get_position)
  • setX11Window/setWin32Window/setOSXWindow -> allow to set a window for libvlc output. Useful if you don't want to be limited to directfb output (node-qt, node-x11).

I've fixed types in libvlc_media_player_set_time and libvlc_media_player_get_time bindings by replacing "longlong" by ref.types.int64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants