Fix info message for ffg726 decoder.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36381 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove needless GUI_HANDLE_EVENTS call.

Media playback has just begun and there's a regular
GUI_HANDLE_EVENTS call coming shortly after.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36382 b3059339-0415-0410-9bf9-f77b7e298cf2
Place GUI_HANDLE_EVENTS calls after GUI_REDRAW calls.

The redraw will generate events, which should be handled afterwards
(if already in the event queue).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36383 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove property wsWaitMap and function wsWindowMapWait().

There was a false check of the property (wsShowWindow instead of
wsWaitMap) in wsWindowCreate(), so wsWindowMapWait() was actually
never used on window creation.

The function seems pointless.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36384 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove XSynchronize() call.

We don't want a permanent automatic synchronized request handling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36385 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove XFlush() and XSync() calls.

They aren't necessary.

We can rely on the implicit flushes of the output buffer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36386 b3059339-0415-0410-9bf9-f77b7e298cf2
Process events after destroying a window.

This allows other windows to get their expose events.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36387 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a redraw and event handling to GUI_PREPARE.

It may take some time until MPlayer will call a GUI_REDRAW after the
GUI_PREPARE, which will result in windows being exposed with unhandled
events waiting.

This way, windows will be redrawn earlier which looks nicer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36388 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate wsEvents().

Put it behind all other calls, so that all events can be handled
(if already in the event queue).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36389 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove GUI_HANDLE_EVENTS.

This call is only needed after a GUI_REDRAW, so add its code to
GUI_REDRAW and simplify the GUI interface.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36390 b3059339-0415-0410-9bf9-f77b7e298cf2
Handle special argument -1 to switch_ratio as intended.

Reset to the original aspect ratio that would have been used for
the very first rescaling rather than to the display size ratio.

This will now handle anamorphic videos correctly as well.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36391 b3059339-0415-0410-9bf9-f77b7e298cf2
Adjust detection of original aspect ratio after r36391.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36392 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix segmentation fault with aspect ratio menu entry.

Without video stream guiInfo.sh_video isn't set.

Reported by Hans-Dieter Kosch, hdkosch kabelbw de.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36393 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove remaining XFlush() calls.

These should have been already removed in r36386,
but they were mistakenly considered necessary.

We can rely on the implicit flushes of the output buffer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36394 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a XSync() call.

This will avoid some unpleasant visual effects
because of the transparent background to come.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36395 b3059339-0415-0410-9bf9-f77b7e298cf2
Synced with help_mp-en.h rev. 36374



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36396 b3059339-0415-0410-9bf9-f77b7e298cf2
Update for changed lavf API.

The buffer now needs to have been allocated with av_malloc.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36397 b3059339-0415-0410-9bf9-f77b7e298cf2
Add define to silence FFmpeg warnings.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36398 b3059339-0415-0410-9bf9-f77b7e298cf2
Add support for rtsp:// falling back to support via FFmpeg.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36399 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix definition of sh->original_aspect.

Since 0 is a valid aspect ratio,
initialization must be different.

This has been a bug in r36391.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36400 b3059339-0415-0410-9bf9-f77b7e298cf2