macosx: avoid issue which may wrongly hide the controls bar in non-lion fullscreen mode
macosx: set fullscreen to false also if window is exited the fast way
macosx: exit the native fullscreen mode if video is finished

This implements the behaviour in a similar way as in non-native mode.
Only if the window was set to fullscreen already before video started,
it will stay in this state.
macosx: remove unneeded workaround which disabled native fullscreen restoration (refs #7872)
Old RC: inverted logic (fixes #11052)
macosx: preserve fullscreen state also in native fullscreen mode

should close #10670
macosx: do not explicitely set presentation options for native fullscreen mode

These flags will be set internally to the correct values. Mavericks even
warns in the log that these calls are ignored. Additionally, the os itself
knows best if the dock needs to be hidden - this is not always the case due
to the new multi-monitor fullscreen in Mavericks.
Revert "package/macosx: remove .rar from list of default file types"

This reverts commit 7c2652cd8b4bbb4be81aa2a928f8cafb86351b6a.
opengl: use buffer objects instead of host memory for subpictures

See bbbc51c713432b25b0ffdfa943b8441aa7d4f96e
mp4: fix pointer type
decoder: fix debug message
http_auth: fix debug message on 64-bits architectures

The * modifier expects an int. A pointer difference is ptrdiff_t.
mpeg: fix warning
mkv: check for overflow and fix type limit warning
xspf: fix type limit warning
transcode: fix parameter warning
fourcc: add missing initializers
gme: fix warning
ts: fix warning
transcode: copy video orientation to encoder