Commit Graph

1957 Commits

Author SHA1 Message Date
reimar 698494f779 Helper function for drawing texture and general cleanup of vo_gl2.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 13:44:14 +00:00
reimar 3cf870e26b Cleanup, move declarations to beginning of block.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16214 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 10:30:18 +00:00
alex 76f0fb31b6 10l, patch found in geexbox
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16197 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 11:02:30 +00:00
reimar 9b53e64cc5 Forgot to actually enable vo_gl on Windows...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 13:38:00 +00:00
ivo 4bf7522a2e Missed one uint32_t declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16173 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 12:46:42 +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 56d37f9817 exit kiosk mode and show mouse cursor in uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16146 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 23:18:39 +00:00
nplourde 0712baca3d properly release window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16145 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 22:19:34 +00:00
reimar f467c97576 More helper functions/defines and bugfixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16118 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-27 17:22:24 +00:00
reimar 775c4db7f4 catch failed buffer allocation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16114 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 20:36:34 +00:00
reimar 58eab3c054 Use dlsym to get glXGetProcAddress, only way to (hopefully) make it
compile everywhere since the gl/glx headers are such a mess...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16112 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 18:28:51 +00:00
reimar 1feebc74c7 OpenGL fixes for windows and vo_gl.c ported to windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 13:47:18 +00:00
reimar c30b5e70b7 support for rectangular and streaming textures.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16100 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 10:16:18 +00:00
reimar 6acf6c886e Use DRAW_IMAGE instead of draw_frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16093 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-25 19:11:14 +00:00
nplourde e14d9ede2e restore window shadow when quitting fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16082 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 15:16:27 +00:00
reimar de6925b979 Enable manyfmts by default for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 08:42:55 +00:00
rik 2d730f1fcc --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
the bugfix of the "grayscale" output scheme introduced a bug in the header
writer for the stream output, this patch corrects that


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15953 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 12:35:43 +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 762820ba8f fix fullscreen menubar item behaviour
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-01 17:24:31 +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
iive b509629603 add vo_xv_enable_vsync() to xvmc
it may not be needed but at least it shouldn't hurt to have it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15867 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:57:56 +00:00
reimar 7bbc8d045a added forgotten xv_enable_vsync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15865 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:16:35 +00:00
nplourde c60e560af2 keep window size when changing aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15856 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:54:48 +00:00
nplourde 7d73ce2371 crash on autorelease, do not add to pool
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:49:58 +00:00
reimar 85626ef1aa Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-27 10:05:39 +00:00
faust3 0a4c99abd9 keep aspect when resizing, quit MPlayer when closing the window patch by Erik Lunchpail <erik_27can at yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15823 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 17:44:07 +00:00
gpoirier 9dd8f241ac adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma 2098665b8d Be more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
reimar e76512dfb7 Make dfbopts a suboption, use suboption parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 20:27:50 +00:00
reimar fd0aa2708e support -wid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 18:32:29 +00:00
nplourde 62e993bd96 osx 10.3 dont like to have a window init with no size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-17 16:45:24 +00:00
nplourde 6f6ab3ba68 set nsapp and setup cocoa with NSApplicationLoad
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15738 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:41:44 +00:00
nplourde 643db0cf94 proper init of NSApp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:14:05 +00:00
reimar 679f307f01 helper functions for comparing strarg_t "strings".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 09:08:07 +00:00
nplourde 1b0c8682c4 set window alpha
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15732 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 00:26:47 +00:00
nplourde 40059ab93a new texture frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15730 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 21:49:50 +00:00
nplourde 1865cc057a device_id flag force fullscreen device
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15729 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 16:54:43 +00:00
nplourde e2fab0fbc0 fix gcc warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15728 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 14:55:08 +00:00
nplourde dbf0e226d2 do not realloc window while playing playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15727 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 14:48:33 +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
reimar 1c0928d65e Fix OSD handling, DVD subtitles work now. Will be a bit slower though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15720 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-13 20:09:05 +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
faust3 331bd69913 match the declaration in the includes to make it compile with gcc 4.1, patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15691 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-07 13:39:41 +00:00
nplourde 3d7173df87 show window only after texture creation (look better).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15658 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 20:21:34 +00:00
nplourde 95f0894948 Pure cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15648 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 14:57:36 +00:00
gpoirier d853ecdc40 More gcc-4.0 fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15640 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-04 21:11:39 +00:00
faust3 6b2538d96b regain window focus in fullscreen, patch by Erik Lunchpail <enik_27can at yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15622 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 05:16:02 +00:00
nplourde b39fbf374d Moved event update inside cocoa openglview class
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15613 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 14:19:35 +00:00
nplourde c4d2a1e479 Function name cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 14:10:52 +00:00
nplourde 994a2b2479 Sync swap with VBL.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15611 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 12:03:26 +00:00
reimar 881f0f083f -geometry support for gl2 under win, default window pos centered for gl, gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15596 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:45:21 +00:00
reimar 7322c396a9 Implement -geometry for vo gl and gl2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15590 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-29 17:04:51 +00:00
nplourde b9bd2fc373 Fix pan-scan in fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15574 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 16:33:28 +00:00
nplourde a6158451ec fix signess warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 23:44:55 +00:00
nplourde 2b56be8a44 create menu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15571 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 23:38:59 +00:00
al 362be18be6 Make -wid behave more consistent.
Original patch by kiriuja |mplayer-patches >ta< en-directo >tod< net|


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15541 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 17:31:44 +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
wight 01907d1e68 If we use .m suffix we really should include it in .SUFFIXES
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15474 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 21:35:35 +00:00
henry d2e7c10efd enable hinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15441 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-13 19:47:50 +00:00
faust3 28962ca4f2 multifile leak fixes by Timothy Lee <timothy.lee at siriushk.com> +some more -fixed-vo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15429 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-13 10:46:11 +00:00
diego 467ab2516e - make use of libggiwmh if found by configure
* For now use it to set the window title
  * Implement "Window-On-Top" (experimental)
- Improved dirty region handling introduced in rev 1.33.
- other minor fixes
patch by Christoph Egger <Christoph_Egger at gmx dot de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15407 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-11 08:04:13 +00:00
nplourde c52b30a43d if define HAVE_ROUND do not define round again. patch by Steven M. Schultz <sms@2BSD.COM>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15395 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-10 00:46:30 +00:00
nplourde 6516ffdb7d do not define video_out_macosx if corevideo is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15348 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-05 00:17:27 +00:00
nplourde d3ca3ab6e7 draw resize box
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15340 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-04 12:00:54 +00:00
nplourde 1e7905dea8 enable panscan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15332 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 21:17:27 +00:00
nplourde b7aed4714e enable rootwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15328 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 18:05:59 +00:00
nplourde d07fabd85f close button exit mplayer with esc key
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15326 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 14:40:16 +00:00
nplourde 85915a0b58 add ontop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15321 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-02 01:48:37 +00:00
rik fcb57df513 compilation fix (libavcodec sync)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15311 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 08:33:35 +00:00
nplourde 382d7cbca8 macosx core video module
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15292 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 11:41:07 +00:00
nplourde 923e97b364 macosx core video module
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15290 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-29 11:05:16 +00:00
reimar ec9db5fc78 Make it possible to use a ggi device string that contains a ',' by writing
a '.' instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15273 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-27 12:15:37 +00:00
rathann fb5558b8e7 100l to Jindrich! Changing the parameter name in the body, too.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15219 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-19 22:11:34 +00:00
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
iive da39de73a8 Compile fix when XF86VM is not defined
patch by Ismail Donmez <ismail at kde org tr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15212 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 14:35:11 +00:00
henry fa7fe564bb more colorkey w/ panscan woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15193 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 17:10:31 +00:00
henry 9946de0944 redraw colorkey on panscan change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15191 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 16:45:43 +00:00
al c3105be29a - fix black screen problem on reinit
- disable colorkey autopainting when painting it manually


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15187 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 15:52:03 +00:00
diego 9bbfd7a388 Mark imported files from uCIFS library as changed for GPL §2a compliance.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15165 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 18:43:41 +00:00
rik d20d486f74 --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
bugfix of the "grayscale" output scheme; the height and width of the movie
were written als -1 and -1 into the resulting *.bml file


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15159 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-14 12:44:28 +00:00
henry 26fb4f06af messed ordering of switch branches, 10l for Ivan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15152 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-13 19:38:44 +00:00
iive 892980bfd0 incorporate all image drawing in single function and use fixed vo_xv_draw_colorkey() for proper key drawing.
This time panscan should be really bugfree (blackbars used to stay)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15103 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 16:30:53 +00:00
iive 595b013b7c fix vo_xv_draw_colorkey to a workable state
(using panscan makes x,y negative, so it is very bad idea they to be unsigned)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15101 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 16:02:28 +00:00
henry e68fc0c46a revert the previous commit, gl needs to reload the font immediately
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15087 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 13:12:55 +00:00
henry 22c533e6ed defer loading of the font after display size change to avoid useless
reloading - hack, but needed because for most of the vo's the panscan
information and screen size are updated asynchronously


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15086 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 11:54:31 +00:00
henry d84d885309 remove force_load_font stuff moved to sub.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15081 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 22:45:47 +00:00
henry ce22162a07 reload font on each change of the display size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15079 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 22:25:33 +00:00
henry 47f90af3ba support for negative strides (fixes -vf spp,flip crash)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15070 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-08 10:31:18 +00:00
iive 62d06e5736 fix blackscreen when changing panscan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15061 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 16:59:34 +00:00
rathann e3b183dc3f - fix gcc warnings, strlcat/strlcpy prototypes
- fix bad sscanf usage in geometry.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-06 11:57:10 +00:00
rathann 8406e93764 Fix memset() usage, patch by Ismail Donmez
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15027 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-31 22:06:34 +00:00
ivo b0e5f570bb Convert vo_aa suboption parser to using the subopt-helper.
This obsoletes all -aa* commandline options. Use -vo aa:* instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14936 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-11 02:09:24 +00:00
syrjala 0046a87017 Clean up properly if preinit() fails.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14930 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-07 22:45:47 +00:00
rathann 85199c9289 missing externs (fixes implicit declaration warnings)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14885 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 22:54:24 +00:00
ivo 5fba323489 10l Don't set SDL to X11 by default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14877 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 19:59:20 +00:00
ivo 91e58712df Remove -noxv and -forcexv command line options and replace them by
suboptions to -vo sdl. Renamed noxv to nohwaccel to better reflect the
meaning of the option. Updated manual page.

Original patch by < ods15 at ods15 dot dyndns dot org>
Modified by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14858 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 03:51:48 +00:00
ivo bec76eab73 Don't print (stupid) message if output directory is .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14853 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-28 04:25:25 +00:00
ivo 359bdf3bed Fix compile warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14851 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-28 00:26:53 +00:00
ivo b0c0255f08 vo_jpeg now uses the generic int_pos() from subopt-helper.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14848 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 22:25:42 +00:00
al bc52a8e25b Always use vo_x11_sizehint function ( even when going fullscreen ) to
reflect at least the window aspect behaviour.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14798 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 17:46:19 +00:00
rfelker df48e121b0 strides should always be signed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14797 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 17:08:54 +00:00
rfelker 7a58560c9a no effect in practice, but strides should always be signed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14796 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 17:07:49 +00:00
al 0df8c299bd Don't change buffers when paused and redrawing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14783 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 12:23:44 +00:00
reimar cdfb0214ba Remove a lot of duplicate code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14748 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 14:44:39 +00:00
al 471f9a844f We should not crash, only because we couldn't hide the cursor.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14744 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-20 22:58:55 +00:00
al f366d01286 Unified colorkey code for vo xv and vo xvmc.
Made the code also more flexible.

Colorkey drawing is now by default done as
proposed by Marko Macek.

Patch also approved by iive.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14743 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-20 22:43:25 +00:00
al 546e6316ac Move generic tests to a common place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 20:14:00 +00:00
syrjala 541480d759 Added NV12/NV21 support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14717 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-17 00:05:23 +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
faust3 e0484e940f always take the focus in fullscreen mode patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14693 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-13 12:47:33 +00:00
al d568eaa271 Fix the behaviour of -geometry according to the documentation.
Patch by Bjorn Danielsson <mplayer-mail ta dax tod nu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14679 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-09 17:58:41 +00:00
reimar 8e1442a9ff X11 headers must be included also when X11_FULLSCREEN is not defined (although
it is not really beautiful that their are included here in the first place)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14664 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-06 10:12:34 +00:00
diego c3e7f3b845 Separate XF86 video mode extension check from XF86 keysym check as
XFree 3.x does not have the latter.
based on a patch by Trent Piepho <xyzzy at speakeasy dot org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14637 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-02 14:07:13 +00:00
iive 0ee2d9f9f2 Query XV_COLORKEY only when listed in attribute list, fixes displaying with non overlay ports
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14636 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-02 14:02:26 +00:00
syrjala 30486c5acc - Don't advertise IMGFMT_RGBxx
- Updated copyright line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 17:59:36 +00:00
rik 1aef2d64ea free MSTRZ args also if parser fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14596 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-25 22:25:39 +00:00
rik aba32969ba vo_zr2 moved to OPT_ARG_MSTRZ from OPT_ARG_STR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14595 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-25 21:55:56 +00:00
alex 2506291b13 avoid using vo_subdevice
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14578 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 18:05:07 +00:00
gpoirier ded52c0bc7 Make this file compile with gcc-4.0.0. The old code was invalid C.
(with the blessing of Rich)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14566 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-21 21:11:35 +00:00
reimar ca8fc9929b New suboption type: malloc'ed, zero terminated string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:10:20 +00:00
ivo 4fc24f5c2c Replaced suboption parser by call to suboption helper.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14509 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 23:54:49 +00:00
ivo a80408f82f 1l. parser can work with pnm_maxfiles directly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14507 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 21:21:07 +00:00
ivo 92a69976f7 Transition of suboption parser to subopt-helper parser.
Removal of stupid malloc_failed function.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14505 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-15 20:06:49 +00:00
ivo 5e2a0b316e Implementation of vo_png suboption parser with subopt-helper and removal
of -z command line option.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14452 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-10 15:51:55 +00:00
reimar 2ac89bd388 set sub_bg_alpha only to 255 when using hardware OSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14431 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 17:58:56 +00:00
rik 5405368390 replace almost obsolete email address: snel@phys.uu.nl -> rsnel@cube.dyndns.org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14430 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 14:32:26 +00:00
rik e5657a2e4b vo_zr2 moves to subopt-helper (per Alex's request)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14429 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 14:25:22 +00:00
faust3 bc3924c085 fixed-vo/libmpeg2 aspect change fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14402 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 16:24:58 +00:00
faust3 27c3aa54b9 256 color mode support, use -vm to get better output when overlay is not supported
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14401 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 15:58:37 +00:00
faust3 e0bbbcfa83 win95 fix fix by Rune Petersen <rune.mail-list at mail.tele.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14303 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-02 16:44:44 +00:00
reimar efa1ae2274 Use subopt helper to parse arguments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14287 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 14:58:49 +00:00
reimar d0b713ad24 Use subopt parser
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14285 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 14:54:58 +00:00
reimar efb6997813 Remove unused defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14271 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 14:35:18 +00:00
reimar f9258247dd Doxygen comments improved
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14270 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 14:33:40 +00:00
faust3 bd6b315f6b win95 does not support GetMonitorInfo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14254 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 19:27:07 +00:00
al 00f99a82a8 Fix ontop for some WMs that lose ontop state after fullscreen event.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14245 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 11:09:49 +00:00
reimar 98de1c7415 forgot to remove now useless extern monitor_aspect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14224 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-23 12:49:31 +00:00
reimar f18f7a5cd7 vo_screenwidth/vo_screenheight is _not_ monitor_aspect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14222 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-23 12:27:05 +00:00
joey 9e7ca454b4 added -wid support for vo_directx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14208 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 20:33:51 +00:00
joey 87b4d8af68 automatic monitoraspect calculation for vo_directx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14207 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 20:32:26 +00:00
joey 90700b67a7 added colorkey support for vo_directx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14206 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 20:31:39 +00:00
diego 84e0255555 - Fixed mode setting, so any video can be played on all supported ggi targets.
- Fixed and enabled draw_slice().
- Only perform flushes in flip_page().
- implemented a primitive dirty region handling to only flush changed area.
patch by Christoph Egger <Christoph_Egger at gmx dot de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14176 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-17 19:36:52 +00:00
reimar 72396a05a9 fix leak with -fixed-vo, allow concatenating
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14146 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-12 15:17:53 +00:00
reimar 84fd90d3e4 Improving gl2 under windows, moving some functionality to gl_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14143 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-11 16:57:42 +00:00
reimar 8e4b3a0ccb Add a file= suboption to set output file.
Patch by Olivier Rolland (( billl |at| users <dot> sf <dot> net )).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14096 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-03 21:02:14 +00:00
rfelker 44d693368f remove old buggy workaround. kerneltwosix.h itself will be removed soon if this doesn't cause problems
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14095 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-03 20:55:00 +00:00
reimar d924f1beb1 Move selection of internal texture format to appropriate place, should
be at texture initialization as visual might change.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14091 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-03 00:11:28 +00:00