Commit Graph

79 Commits

Author SHA1 Message Date
Uoti Urpala eaab1ce896 Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo struct 2008-04-23 13:46:40 +03:00
Uoti Urpala de56d2d9f5 Remove variable arguments from vo control() functions
No voctrl uses them any more, and using them would not be a good idea
because it makes forwarding arguments to other functions harder.
2008-04-23 13:41:03 +03:00
Uoti Urpala dbe080ec9f Change VOCTRL_[GET|SET]_EQUALIZER argument passing
These were the only voctrl types with more than one argument. The
second argument was passed using variable arguments. Change them to
use a single argument (address of a struct containing both old
arguments). This makes forwarding the arguments to other functions
easier and allows simplifying code.
2008-04-23 13:41:03 +03:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
diego 43bd3a468e warning fixes:
input.c: In function 'mp_input_set_section':
input.c:1640: warning: suggest parentheses around assignment used as truth value
input.c:1643: warning: suggest parentheses around assignment used as truth value
mga_common.c: In function 'mga_init':
mga_common.c:394: warning: suggest parentheses around assignment used as truth value
playtreeparser.c: In function 'parse_smil':
playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'ts_parse':
libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value
libmpdemux/demux_ts.c: In function 'demux_open_ts':
libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 13:16:30 +00:00
diego 7177af73f1 Move debug message to verbose output level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-04 22:57:06 +00:00
diego 2e2c64dd3a warning fix:
vo_xmga.c: At top level:
mga_common.c:212: warning: 'mga_fullscreen' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24261 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:04:36 +00:00
attila 1cbb8209ca Assume first xinerama screen, in case xmga could
never figure out on which screen it is.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 09:15:40 +00:00
reimar e9506908bc Another unneeded xinerama_screen extern
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23637 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:59:53 +00:00
attila 01c2a013f8 cosmetics, fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22712 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:04:47 +00:00
attila 15121545dd allow horizontal resolutions >1024 in case we have a G550
(actualy in case mga_vid doesn't deny it)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22711 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 11:03:34 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
lucabe cc30aae17b Move postproc ---> libswscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:00:31 +00:00
attila 1f9d6c4897 10l
fix 1023 <-> 1024 typo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18819 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 16:18:50 +00:00
attila 113b85e0b7 fail with an error if the source resolution is larger than 1023x1023
when using -vo (x)mga


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18815 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-25 15:50:19 +00:00
lucabe f4091e4791 Software Scaler headers usage cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-18 10:59:23 +00:00
reynaldo 78417bf0dd Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with lots of corrections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-24 04:23:53 +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
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
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
alex dae741ea25 removed unused headeer dependencies
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11866 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-28 10:03:40 +00:00
joey 640f93d018 runtime 'stay-on-top' functionality
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-30 16:36:10 +00:00
michael 5b882e5130 vf_scale.h & related cleanup & some small warning fix by dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-01 21:59:29 +00:00
rfelker 987378835f ugly ugly fix for michael's 1000l changes in swscaler: mysterious segfault w/g200
anyone have a better fix?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10006 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-27 18:44:23 +00:00
rfelker 748e2bcb48 fix panscan font resizing with vo_mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9995 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-26 16:56:21 +00:00
rfelker 63dd151a4c 100l to Gabu, this caused divide-by-zero with -vo mga. Apparently
someone only tested -vo xmga. Feel free to reenable if you can fix the
sigfpe properly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9728 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-29 19:56:31 +00:00
gabucino fb5778a5a5 fixing truetype rescaling with (x)mga + panscan
Patch by J. Makovicka


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9693 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-26 11:51:40 +00:00
pontscho 24aec200db fix xmga + playbar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9048 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-20 21:35:31 +00:00
attila df3fd2baf3 xinerama fix part 1
xmga only for the moment, have to work on xvidix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8989 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 14:33:29 +00:00
rfelker 9951210c1c don't keep mga_vid device open if x11 init fails (fixes "-vo xmga,mga")
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8779 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 19:17:37 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
arpi 0cc738f936 panscan support in -vo mga (actually moved common code to mga_common.c)
Ivan Szanto <szivan@duticai.TWI.TUDelft.NL>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8018 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 00:21:45 +00:00
pontscho 7eadbc8831 -fixed-vo support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7778 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 09:49:25 +00:00
arpi 9a84232f45 compiler warning found by Dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7696 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-10 00:10:58 +00:00
arpi 6a2c0db5e5 also set VFCAP_ACCEPT_STRIDE when draw_image() is implemented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7695 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-10 00:09:34 +00:00
arpi a7ee9a6f06 draw_image() implementation (new libvo API)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7682 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 14:38:38 +00:00
arpi 49d1ae31e4 more cleanup, some -vo mga fullscreen fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7681 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 13:40:23 +00:00
arpi 96bda1810f some cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7680 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 13:25:13 +00:00
arpi 4a92dacc4e preinit() has an arg... use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7677 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 00:52:15 +00:00
arpi d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi 205024fed1 eq fixed, based on patch by .so
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6800 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 21:36:04 +00:00
pontscho d05326c4bc - fix audio equalizer
- rewrite video equalizer handling (i teszted with mga g400 [x]mga,xv,xvidix and radeon xv,xvidix )
- fix some small gtk bug
- i dunno, i don't remember ... :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6756 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-19 20:51:48 +00:00
pontscho a3ef885bed fix panscan support and add Jesper Svennevid's <mplayer@svennevid.net> patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6383 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-10 18:40:19 +00:00
arpi 89e9c29aff warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6336 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-07 22:43:29 +00:00
pontscho 08b4af80fa add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6312 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-06 07:13:57 +00:00
pontscho ae8906e42c added panscan support for xmga/xvidix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6308 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-05 19:35:54 +00:00
pontscho 916a1d5dea wm detection -- round two
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6010 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-07 13:31:29 +00:00
rfelker c1a516894c fullscreen toggle for vo_mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5988 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-05 18:58:42 +00:00
arpi 2bea9b36a7 mp_image.h and img_format.h moved to libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-13 19:14:34 +00:00
arpi 40e94d7385 VFCAP added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-11 21:07:00 +00:00