[vlc-devel] Re: VLC AX opens new framed desktop window instead of playing inside the host application's window
jan at muskelfisch.com
Mon Dec 19 19:00:39 CET 2005
yes, the cone logo is displayed at the position where the AX COntrol is
supposed to be: inside the App's Control Container Window (class
TOLEContainer). But right before playback starts, another window (class
VLC DirectX) with parent=NULL is created and inside that, a child window
(VLC DirectX video) that actually contains the overlay surface.
I'm now looking at modules/video_output/directx/events.c, where these
windows are created.
Especially at these lines:
/* If an external window was specified, we'll draw in it. */
vout_RequestWindow( p_vout, &p_vout->p_sys->i_window_x,
So, i guess, if that TOleContainer window's handle would be in
everything would be fine. But how would it get there?
Damien Fouilleul wrote:
> do you see the cone logo when you are running your code ?
> Jan Bölsche wrote:
>> Hi! I'm new to this list and VLC development in general and run into
>> the following problem:
>> When embedded into Zinc (http://www.multidmedia.com/software/zinc),
>> the VLC ActiveX control opens a new, framed desktop window with title
>> bar and everything right before starting playback of a video stream.
>> The window is of class "VLC DirectX video" and has the title "VLC
>> (hardware YUV overlay DirectX output)"
>> I guess this is because the Zinc COM Container is somehow, let's say,
>> not the best on earth and doesn't suport in-place activation. But I
>> don't have hard facts about this yet.
>> Just wanted to ask, if somebody has some ideas about this before
>> diving deeper into VLC sources.
>> Subversion daemon wrote:
>>> r13809 | massiot | 2005-12-19 17:46:48 +0100 (Mon, 19 Dec 2005) | 3
>>> Changed paths:
>>> M /trunk/src/input/es_out.c
>>> M /trunk/src/input/var.c
>>> M /trunk/src/libvlc.h
>>> * src/input/es_out.c: New --no-spu and --no-sout-spu options to disable
>>> processing of SPU elementary streams.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel