Name the Slider Widget Code (Pretty Please)

This forum is about all development around libVLC.
lordawe
New Cone
New Cone
Posts: 8
Joined: 25 Jan 2012 04:45

Name the Slider Widget Code (Pretty Please)

Postby lordawe » 07 Feb 2012 21:54

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 particular OS, but with the underlying "libvlc_media_player_t" methods/callbacks etc that are used when responding to the movement of the thumb slider. I thought it would be easy to find but I keep getting lost in the VLC encapsulation.

TIA.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Name the Slider Widget Code (Pretty Please)

Postby Jean-Baptiste Kempf » 08 Feb 2012 09:30

modules/gui/qt4/util/input_slider.cpp
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

lordawe
New Cone
New Cone
Posts: 8
Joined: 25 Jan 2012 04:45

Re: Name the Slider Widget Code (Pretty Please)

Postby lordawe » 08 Feb 2012 19:12

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) - I am interested in the media player methods that are called when an event occurs in VLC so I could examine/emulate some of the player's behavior.

I found vlccontrol.cpp in the projects/activex folder which is more like I am looking for. Is there such a source file for the VLC player?

I know these questions are a lack of my understanding of the vlc codebase and the overall program flow logic, and appreciate the help. I have searched for a software design document (SSD) for VLC but could not find one either on this site or through several third party blogs. This would be an awesome resource for one of the VLC gurus to put together and would probably save you a bunch of time answering stupid questions from people like me.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Name the Slider Widget Code (Pretty Please)

Postby Jean-Baptiste Kempf » 08 Feb 2012 19:18

The main player does not use libVLC...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

lordawe
New Cone
New Cone
Posts: 8
Joined: 25 Jan 2012 04:45

Re: Name the Slider Widget Code (Pretty Please)

Postby lordawe » 14 Feb 2012 21:17

That explains a whole lot! Thanks Jean.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests