Commit Graph

1759 Commits

Author SHA1 Message Date
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