On X11 use root window as "hidden" window instead of
an unmaped window.

Creating an unmaped window has ugly side-effects like
the window still appearing for a short time and -geometry
not working with some window managers.
Since creating a GL context for the root window might not
work also add fallback behaviour.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36403 b3059339-0415-0410-9bf9-f77b7e298cf2
Make fallback for failing context creation actually work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36404 b3059339-0415-0410-9bf9-f77b7e298cf2
vf_screenshot: slice handling fix.

We can only support slices if the next filter does so.
Fixes bugzilla issue #2140.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36405 b3059339-0415-0410-9bf9-f77b7e298cf2
Avoid dereferencing NULL pointer on close if we
never allocated a AVIOContext.

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