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
mp4 mux: encode video orientation
avcodec encoder: get bytes per pixel from context if needed

Falling back to 3 bytes broke the buffer allocation for BMP with ffmpeg, which
defaults to RGBA.

Fixes #9687
macosx: Fix startup delays by loading Open.nib only on demand

There is no need to already load it here, not every user uses the open panel.
Additionally, input devices listing may take one or two seconds the
first time after the system started, so this is also better done only when needed.

close #11098