Page 1 of 1

where is the place where vout thread is created

Posted: 03 Jul 2011 18:48
by koyaya
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

Re: where is the place where vout thread is created

Posted: 04 Jul 2011 00:42
by Jean-Baptiste Kempf
src/video_output/ should be probably better.

Re: where is the place where vout thread is created

Posted: 04 Jul 2011 06:54
by koyaya
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