1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 22:02:59 +00:00
Commit Graph

74 Commits

Author SHA1 Message Date
diego
02135001b4 Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego
ad603f5559 cosmetics: Remove useless parentheses from from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 08:33:27 +00:00
ulion
20b1f841a6 Fix mouse button mapping:
MOUSE_BTN1 is middle buttion, MOUSE_BTN2 is right button.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 14:48:30 +00:00
reimar
2bf8c692f1 Mark the vo_functions_t definitions as const where possible.
This is not possible for xover and anything supporting vidix
due to horrible hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:39:15 +00:00
reimar
909887bdbe Make vo info structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:06:03 +00:00
ulion
c90770493c Handle mouse up event to get double click support from mp_fifo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24986 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-07 01:44:41 +00:00
ulion
58ecb061ad Fix mouse right button and middle button incorrect identifications.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24984 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 15:57:36 +00:00
ulion
7ce42e4ebb Fix KPENTER keycode value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24983 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 13:17:37 +00:00
ulion
ac78bc4eca Fix the prevent system idle code. Original code also works, but not as expected.
The update function was always called, but it should only be called every 30
seconds.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:52:54 +00:00
ulion
3fd8eb3f8e Warning fixes:
vo_quartz.c:537: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:539: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:551: warning: passing argument 4 of 'AppendMenuItemTextWithCFString' makes integer from pointer without a cast
vo_quartz.c:578: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1126: warning: ISO C90 forbids mixed declarations and code
vo_quartz.c:1363: warning: passing argument 7 of 'BeginFullScreen' makes integer from pointer without a cast
vo_quartz.c:1393: warning: passing argument 2 of 'EndFullScreen' makes integer from pointer without a cast
vo_quartz.c:1402: warning: passing argument 2 of 'SetSystemUIMode' makes integer from pointer without a cast




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24980 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-06 12:12:48 +00:00
nplourde
88166aa171 bugfix intel mac vo_quartz, PlanarPixmapInfoYUV420 structure requires big-endian value. author Taihei Monma tmkk@mac.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23696 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 21:57:31 +00:00
reimar
6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
diego
5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
rathann
259cfbe7e2 Code cleanup: don't include a .c file in mplayer.c and fix a few
"implicit declaration of function ‘mplayer_put_key’" warnings

Based on Attila's suggestions.
Approved by Uoti and Ivan.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-29 17:16:11 +00:00
diego
a321bc9a2b Fix a declarations vs statements warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21412 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 15:04:46 +00:00
nplourde
fd290901bb Replace deprecated function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18058 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 16:16:48 +00:00
nplourde
fa6ba9c127 let osx sleep if video is paused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 01:36:32 +00:00
albeu
374db42e17 libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +00:00
reimar
cbf7b3b291 remove extern for variables that are already in headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 01:20:31 +00:00
ivo
cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
nplourde
96a22de4e6 resize video after keep aspect menu item toggle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15910 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 14:28:51 +00:00
nplourde
706952e30d fix various window resizing bug with menu option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15903 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 12:24:48 +00:00
nplourde
c8dc1edbdf more fullscreen behaviour fix for mouse cursor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-02 19:44:48 +00:00
nplourde
7707fc682f properly redraw fullscreen window with -fs and zoom
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15886 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-02 13:28:25 +00:00
nplourde
2814dd6533 auto hide menubar and cursor in fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15882 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-01 17:21:13 +00:00
nplourde
fe048bd6dd draw resize box
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15724 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-14 12:48:39 +00:00
nplourde
f7d8a856f8 Fix Live Resize to match vo_macosx behavior
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15703 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-09 12:39:52 +00:00
nplourde
7e0a27e93b Toggle only between ontop and normal.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15525 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-20 16:40:35 +00:00
nplourde
79380dc836 set device id to 0 if the device selected on startup do not exist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14700 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-14 21:28:21 +00:00
nplourde
a5b9a129db do not bring process to front if HAVE_SDL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14083 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 21:22:18 +00:00
nplourde
e87bf5a212 clear menubar before adding new menu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14082 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 21:19:04 +00:00
nplourde
2cc1ec3ea4 add support for macosx finder argument support (let you bundle mplayer to be a finder compliant .app) patch by Chris Roccati <roccati@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13910 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-10 16:43:40 +00:00
nplourde
ee98fdf176 remove window shadow in fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13857 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-02 23:01:25 +00:00
nplourde
086a7bea56 set aqua default theme
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13856 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-02 18:16:41 +00:00
nplourde
32e51e5537 do not hide mouse and menubar in fulscreen if not using main device
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13842 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-01 17:19:25 +00:00
nplourde
6ff66b7dbb more panscan fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13841 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-01 16:17:49 +00:00
nplourde
6ec468e599 window now save is old position when going in fullscreen or while using resize preset
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13819 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 19:56:41 +00:00
nplourde
adf3551036 resize preset now respect movie aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13797 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-29 02:16:16 +00:00
nplourde
1f19fc4e52 enable pan-scan + menu option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13796 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-29 01:24:14 +00:00
nplourde
7bbf1acf5e get proper movie aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13794 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 23:06:35 +00:00
nplourde
c09e15ebbc menu option to set desired movie aspect & keep aspect on window resize
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13793 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 22:03:26 +00:00
nplourde
e85620ef8e autodetect proper monitor aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13792 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 21:48:41 +00:00
nplourde
cbe6825c91 let you choose fullscreen resolution for slower system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13789 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 14:52:47 +00:00
diego
5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
nplourde
8d3c5a8579 fix windows resizing ui glitch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13780 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-27 21:20:11 +00:00
nplourde
2c0e791eb0 Enable live resize
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13735 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-22 00:28:03 +00:00
nplourde
38db6b3876 fixed typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13723 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 12:43:08 +00:00
nplourde
159928a38a move variable declaration at beginning of block
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13720 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:36:20 +00:00
nplourde
05e19b3333 removed duplicate case and fixed aspect ratio for window zoom feature
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13713 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 23:33:31 +00:00
nplourde
a96207679e Fixed event handling for menubar and window close button.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13708 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-20 16:38:33 +00:00