summaryrefslogtreecommitdiffstats
path: root/video/out/osx_common.h
Commit message (Collapse)AuthorAgeFilesLines
* osx: create macosx_events to deal with keyDown eventsStefano Pigozzi2013-06-031-24/+0
| | | | | | On OSX with Cocoa enabled keyDown events are now handled with addLocalMonitorForEventsMatchingMask:handler:. This allows to respond to events even when there is no VO initialized but the GUI is focused.
* macosx_application: move escape_loadfile_name in this fileStefano Pigozzi2013-05-301-3/+0
| | | | This allows to move back osx_common to raw C.
* osx: remove compatibility conditionals for 10.6Stefano Pigozzi2013-05-301-1/+0
| | | | | | | | At this point 10.6 is pretty old and we don't want to supporting old platforms. I'm killing all the 10.6 compatibility code before doing more refactorings. Next commits will also use newer Objective-C syntax such as literals and @autoreleasepool.
* osxbundle: cocoa_common: change playlist on fileopen eventsStefano Pigozzi2013-01-161-0/+1
| | | | | | | When opening new files in Finder when `mpv` is running from an application bundle, the new files will now replace the current playlist. Fixes #14
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-0/+27
Tis drops the silly lib prefixes, and attempts to organize the tree in a more logical way. Make the top-level directory less cluttered as well. Renames the following directories: libaf -> audio/filter libao2 -> audio/out libvo -> video/out libmpdemux -> demux Split libmpcodecs: vf* -> video/filter vd*, dec_video.* -> video/decode mp_image*, img_format*, ... -> video/ ad*, dec_audio.* -> audio/decode libaf/format.* is moved to audio/ - this is similar to how mp_image.* is located in video/. Move most top-level .c/.h files to core. (talloc.c/.h is left on top- level, because it's external.) Park some of the more annoying files in compat/. Some of these are relicts from the time mplayer used ffmpeg internals. sub/ is not split, because it's too much of a mess (subtitle code is mixed with OSD display and rendering). Maybe the organization of core is not ideal: it mixes playback core (like mplayer.c) and utility helpers (like bstr.c/h). Should the need arise, the playback core will be moved somewhere else, while core contains all helper and common code.