where is the place where vout thread is created

This forum is about all development around libVLC.
koyaya
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 11:52

where is the place where vout thread is created

Postby koyaya » 03 Jul 2011 18:48

Hello

in the standard flow, where is only one video output (no splitters) i
i want to add a variable holding the vout thread (i want to have a callback for this in another filter)
As far as i understand, i need the place where vout_Create is called, is it right?
Is this place in the modules/video_filter/wrapper.c? or its elsewhere?
i saw also other video filters spawning the video output thread, so i am not sure.

a reference to the correct file is all that i need

thanks

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: where is the place where vout thread is created

Postby Jean-Baptiste Kempf » 04 Jul 2011 00:42

src/video_output/ should be probably better.
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.

koyaya
Blank Cone
Blank Cone
Posts: 14
Joined: 25 May 2011 11:52

Re: where is the place where vout thread is created

Postby koyaya » 04 Jul 2011 06:54

Hello Jean

thanks for your answer, but i still dont understand: i was looking in src/video_output/video_output.c
this is where the vout_* thread is defined, together with its constructor function vout_Create and vout_Request

what i dont find is where these functions are used in a simplest flow of vlc, lets say when you run vlc.exe bla.avi
without explicitly starting any filters or splitters.

what part of the code creates the output thread in this case?

thanks


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests