Remove unnecessary type conversions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36371 b3059339-0415-0410-9bf9-f77b7e298cf2
Be more pedantic about type of the constant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36372 b3059339-0415-0410-9bf9-f77b7e298cf2
Revise ratio text.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36373 b3059339-0415-0410-9bf9-f77b7e298cf2
Enable localization of ratio text.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36374 b3059339-0415-0410-9bf9-f77b7e298cf2
Be more pedantic about type of the constant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36375 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary type conversions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36376 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Don't shorten floating point constants that way.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36377 b3059339-0415-0410-9bf9-f77b7e298cf2
Increase precision of calculation by using constants of type double.

Additionally: Rearrange calculation for clarity and add comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36378 b3059339-0415-0410-9bf9-f77b7e298cf2
Increase precision of calculation by using constants of type double.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36379 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify sign change of variable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36380 b3059339-0415-0410-9bf9-f77b7e298cf2
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