* Fix subtitle alignment if we don't have styles. fixes #619
I chose to re-add the align paramter to the subpicture region struct, since adding a style struct for every single subpicture for just an alignment seemed to be overkill to me.
I was actually trying to understand why command line option parsing on my computer with self compiled VLC behaves as "If the first character of optstring is '+' or the environment variable POSIXLY_CORRECT is set, then option processing stops as soon as a non-option argument is encountered." while neither of these conditions is true (see the while( getopt_long( ... ) != EOF ) loop).
Small illustration:
./vlc -vvv -I dummy input.ts --color
All options before the first non option argument work as expected (-vvv and -I dummy). All options after the first non option argument are also interpreted as being non option arguments.
Help would be appreciated.
(I've already had reports of other people having the same kind of issues)
* Fix ffmpeg libavformat linkage when we don't use --with-ffmpeg-tree (this fixes Flash playback)
* Add Shorten codec. This refs #632 It doesn't seem to work, but that might be an endianness issue. will someone please check with this sample? http://www.mplayerhq.hu/MPlayer/samples/A-codecs/lossless/luckynight.shn
Win32 specific changes: Add --started-from-file option to tell VLC that it was started by clicking on a file (or disc). Add --one-instance-when-started-from-file option to tell VLC to use one instance mode when --started-from-file is used. See replies to r15125 for an explanation.
* store the value of 'macosx-black' as one of VLCWindow's properties to prevent rare crashes when en-/disabling vout-filters or leaving/entering fullscreen-mode really fast.
When going to fast to fullscreen/windowed-mode VLC can still crash (now at vout.m:375), but that scenario isn't realistic because you need to perform this function at least 5 to 10 times per second to get this done.