[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] SDL + W32 + Mediastreamer2 ?
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] SDL + W32 + Mediastreamer2 ? |
Date: |
Wed, 4 Nov 2009 10:21:03 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-1-amd64; KDE/4.3.2; x86_64; ; ) |
Hi Joackim,
You don't need SDL on windows. There is native win32 display support in
mediastreamer2/src/videoout.c.
Resize works on windows, but you need to call periodically
video_stream_iterate() (if you used the video_stream_* api), or directly
ms_filter_call_method_noarg(stream->output,
MS_VIDEO_OUT_HANDLE_RESIZING);
This will grab the mouse events to handle the resizing properly.
This calls must be done from the main thread of your app.
Simon
Le jeudi 22 octobre 2009 13:11:06, address@hidden a écrit :
> I have cross-compiled mediastreamer2 and a little app on top of it on
> Fedora 11 with the Mingw toolchain included there. This works mostly
> well, except the video window doesnt want to resize. Doesnt the SDL code
> work on W32? Should I try recompiling withouth SDL? What abilities will
> I loose then?
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Linphone-users] SDL + W32 + Mediastreamer2 ?,
Simon Morlat <=