Commit Graph

12 Commits

Author SHA1 Message Date
Felix Paul Kühne 2974427561 macosx: white space and minor coding style fixes 2012-11-15 19:45:18 +01:00
David Fuhrmann 354dcd7df9 macosx: simplify vout window instantiation
This removes unused pointering. Furthermore, for nonembedded windows
the video size is set directly to avoid strange resizing after window
creation.
2012-11-10 21:57:01 +01:00
David Fuhrmann dbb645204e macosx: only set b_nonembedded to true if they is no video inside main window
This fixes several bugs, when we start first vout in main window, but a second one
inside a extra video window.
2012-10-27 13:34:50 +02:00
David Fuhrmann b93441d79a macosx: only set videoplayback to false when last vout window closes
For instance, when we disable visualisations, the playback isn't finished yet,
necessarily.
2012-10-27 13:13:21 +02:00
David Fuhrmann 71023ec9b1 macosx: also update the window name after new video window is created 2012-10-27 13:00:50 +02:00
David Fuhrmann 832c43c645 macosx: add basic support for multiple vout windows in embedded case
This fixes crashes which occured when trying to open the second vout.
2012-10-27 12:45:01 +02:00
David Fuhrmann 393761aba7 macosx: move vout initialisation to vout controller 2012-10-27 12:36:22 +02:00
David Fuhrmann b7165d6053 macosx: implement vout actions handling for multiple vout windows
Now, everything from the video menu and the basic stuff like fullscreen
should work. If it does'nt (e.g. fullscreen and resize with video-splitter module enabled)
please blame the core first. ;-)

TODO: There might be some getVout()-calls left which should be investigated.

close #6814
2012-10-20 15:33:11 +02:00
Felix Paul Kühne 64de31cb58 macosx: fixed compilation for llvm-gcc-4.2 2012-10-16 16:01:06 +02:00
David Fuhrmann dd86d6d469 macosx: adapt and fix fullscreen handling after latest changes
Now, every video window is responsible for the fullscreen handling for its own.
Furthermore, fullscreen now acts entirely in response to vout events, and not over the
playlist fullscreen variable callback anymore.
Native fullscreen mode should also work correctly, but of course only
for embedded video in mainwindow.
2012-10-08 20:26:15 +02:00
David Fuhrmann ebfdeea1f9 macosx: move the resizing code to VLCVideoWindowCommon as its related to vout
This should fix resizing for all (one-)vout-window variants.
Furthermore, this fixes a small bug regarding aspect ratio enforcement.
2012-10-02 21:13:33 +02:00
David Fuhrmann 0b3c20521a macosx: add new controller which handles multiple vout windows
refs #6814
2012-10-02 21:13:32 +02:00