Search found 8 matches

Go to advanced search

by lordawe
14 Feb 2012 21:17
Forum: Development around libVLC
Topic: Name the Slider Widget Code (Pretty Please)
Replies: 4
Views: 438

Re: Name the Slider Widget Code (Pretty Please)

That explains a whole lot! Thanks Jean.
by lordawe
14 Feb 2012 21:16
Forum: Development around libVLC
Topic: How to display wait cursor
Replies: 6
Views: 699

Re: How to display wait cursor

You are absolutely correct mangokm40. The libvlc_MediaPlayerTimeChanged event is the better place for this logic (I have changed mine - thanks). However as the video is stalled at this point any clock ticks saved cant really be used anyway. An even better solution would be to have a libvlc_MediaPlay...
by lordawe
08 Feb 2012 19:19
Forum: Development around libVLC
Topic: How to display wait cursor
Replies: 6
Views: 699

SOLVED: How to display wait cursor

Well, no help from the gurus on this one so here's the hack I ended up using: 1) Save the position sent to SetPos() as "seekposition" 2) Set the hourglass cursor 3) Start a timer function that periodically checks the video position with GetPos() 4) When return from GetPos() > "seekpos...
by lordawe
08 Feb 2012 19:12
Forum: Development around libVLC
Topic: Name the Slider Widget Code (Pretty Please)
Replies: 4
Views: 438

Re: Name the Slider Widget Code (Pretty Please)

Jean, I have looked through both input_slider.cpp and input_slider.hpp and can not find a single instance of any libvlc_media_player_t methods. As in my original post, I am not looking for the code that controls the widgets (Im not modifying/recompiling VLC, I am just using the libvlc.dll with MFC) ...
by lordawe
07 Feb 2012 21:54
Forum: Development around libVLC
Topic: Name the Slider Widget Code (Pretty Please)
Replies: 4
Views: 438

Name the Slider Widget Code (Pretty Please)

Could someone please point me towards the source code/module (Win7 - VLC 1.1.3) that reacts to the video's slider/scrollbar in VLC.exe and communicates with (positions with ->SetPos()/SetTime() etc.) the VLC media player object? Please note that I am not concerned with the specific widget code for a...
by lordawe
01 Feb 2012 22:11
Forum: Development around libVLC
Topic: How to display wait cursor
Replies: 6
Views: 699

How to display wait cursor

I would like to display an hourglass cursor while the media player seeks to a new position via SetPos() and have no joy with the code below as both SetPos and Play return immediately - any ideas? AfxGetApp()->BeginWaitCursor(); m_Player.SetPos(fPos); m_Player.Play(); AfxGetApp()->EndWaitCursor(); Th...
by lordawe
25 Jan 2012 08:51
Forum: Development around libVLC
Topic: libVLC stalls on first run on new system - then fine
Replies: 1
Views: 250

libVLC stalls on first run on new system - then fine

When I copy my application to a new system (Win7) that has never had VLC installed, the first time it runs it seems to hang (I have traps for initialization of vlc that do not occur), but the app runs the second time (and subsequent times) fine. I am running out of new systems to try and debug this....
by lordawe
25 Jan 2012 08:43
Forum: Development around libVLC
Topic: libvlc_MediaPlayerEndReached - Now What ?
Replies: 1
Views: 754

libvlc_MediaPlayerEndReached - Now What ?

I am processing an libvlc_MediaPlayerEndReached event and would like to reset the video to the front with SetPos() so that Play() will work again. Do I need to go through the same steps as I initially did to open and play the video in the first place or is there an alternative?
TIA.

Go to advanced search