Dual monitor problem

Hi,

I’m trying to get the best video playback quality with ffplay.exe on Windows.

I have found that switching the video driver in SDL 1.2 to directx (set SDL_VIDEODRIVER=directx) gives a much better result.

However, I’m testing on a system with two monitors. When I move the player window to the second monitor, the sound keeps playing but the video doesn’t update until I move it back to monitor 1.

Is there any way around this limitation? I tried the new experimental SDL 1.3 but didn’t have much luck getting it to display anything correctly at all. Sometimes it will display the video at high speed, most of the times it displays nothing at all - sound plays OK.

Any ideas?

Thanks in advance.
Brian

SDL 1.2 was designed around the idea of only having one display.

As for the inconsistencies with SDL 1.3, are you using the compatibility layer or is it a proper transition to 1.3?------------------------
EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/

Nathaniel J Fries wrote:

As for the inconsistencies with SDL 1.3, are you using the compatibility layer or is it a proper transition to 1.3?

I just took the code using SDL and recompiled it after installing SDL 1.3. I didn’t change anything.

Shouldn’t this work or is there a tutorial explaining how to upgrade code using SDL 1.2 to 1.3 that I missed?

Brian

It should work but may reports of issues with it have been made.

As for any proper tutorial, I know of none.------------------------
EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/

Yeah, I’m interested to in Dual monitor programming with SDL. I use
SDl 1.3 and Mac and I’ve been searching for some tutorial or code
example but I did’t found anything.On 01/05/2010, at 18:11, Nathaniel J Fries wrote:

It should work but may reports of issues with it have been made.

As for any proper tutorial, I know of none.

EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No dual monitor support is a major problem of SDL 1.2, but hopefully 1.3 will sort it out.

In the meantime, I have a system which uses dual monitors and an SDL 1.2 fullscreen application.
I make a screen surface of 2x screen width (being 1024 x2 = 2048 in this case) and just blit to wherever is necessary
on the “2nd” screen. Setting Windows to extend the desktop too.

It’s not perfect but it’s a way around for my situation. Maybe it can help with yours.

Ed________________________________
From: memmaker650@gmail.com (Jorge Vega Sanchez)
To: sdl at lists.libsdl.org
Sent: Sun, 2 May, 2010 10:45:20
Subject: Re: [SDL] Dual monitor problem

Yeah, I’m interested to in Dual monitor programming with SDL. I use SDl 1.3 and Mac and I’ve been searching for some tutorial or code example but I did’t found anything.

On 01/05/2010, at 18:11, Nathaniel J Fries wrote:

It should work but may reports of issues with it have been made.

As for any proper tutorial, I know of none.


EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org