Commit Graph

48 Commits

Author SHA1 Message Date
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +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
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
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 1c4586e8f9 100l to albeu for his english grammar, and 10l to me becouse I noticed that lately (my backward compatibilty macro uses M_OPT_UNKNOWN)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10596 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-13 16:45:02 +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
albeu 83e30adc4d Use new config headers and types.
Remove unneeded dupendency on mconfig


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9757 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:23:13 +00:00
michael 20faf3dc0d 10000l (YUV vs. YVU swscale fix/cleanup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9698 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-27 16:04:53 +00:00
michael 767d5d6d4a 100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9497 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 23:34:16 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
henry 142ebc5c38 better fix of vo_aa font segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9177 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 19:58:43 +00:00
albeu 126725660d New config system + cleanup of header inter dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 01:56:42 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
diego 7fb770e88d Fixed some typos and an error in the help output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7626 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 17:18:57 +00:00
pontscho 4d85b357f8 add Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz> freetype patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7141 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 17:35:21 +00:00
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
albeu 8e87a008b8 10L bugs founds by Jindrich Makovicka <makovick at MLinux dot fjfi dot cvut dotcz>
Fix the eq


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6810 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 02:04:11 +00:00
albeu d80e0a04b8 10L bugs founds by Jindrich Makovicka <makovicki at KMLinux dot fjfi dot cvuti dot cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6758 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-20 14:26:38 +00:00
albeu 812b86ae81 Use the new Y8 support in place of YV12.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6523 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 13:17:03 +00:00
alex 54d7ca4903 it uses swscaler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6211 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 17:35:57 +00:00
alex 6c4c98b7a1 revised query_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6206 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 17:05:36 +00:00
albeu daa4543190 A almost complete rewrite.
Old plain-C integrated scaler is removed.
Follow the new flow.
Use aspect code.
Faster.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5871 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 20:52:15 +00:00
arpi 922b520e8e moved font_laod.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5296 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-24 00:39:44 +00:00
arpi 97a8c27353 32bpp support not implemented - do not lie
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-10 17:46:22 +00:00
nick 5ddd8e92a1 I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 08:24:43 +00:00
alex 08b445dca9 rgb/bgr 32bpp and IYUV/I420 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4675 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-12 17:10:21 +00:00
arpi 4b33dccb25 10000hl to Holm... control MUST BE static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 01:21:48 +00:00
arpi 7c51652a1b query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:47:26 +00:00
nick b587a3d642 new info for tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 09:57:13 +00:00
nick fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
albeu cc7095a224 Added reverting support for -aa* options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4259 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 17:01:48 +00:00
arpi 2258e8c036 'mplayer -aadriver stdout' segfault fixed by Fredrik Kuivinen <freku045@student.liu.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4095 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-11 22:17:54 +00:00
nick dfe91abaa2 Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:22:40 +00:00
nick c07c47b4c3 never declare variables in *.h files, pls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2499 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-27 14:30:43 +00:00
folke 7f48ad2bdb aalib 1.4.X incombatibility fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1578 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 20:34:58 +00:00
folke 7fbab24262 now linux/curses detection works
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1577 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 14:53:11 +00:00
folke 8692ac860f osd problem with YV12 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1576 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 14:31:03 +00:00
arpi 883fdaf97a vo_font SEGFAULT fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1573 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 10:18:27 +00:00
folke e297a06ec9 define USE_OSD / USE_SUB fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1555 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 15:36:12 +00:00
folke ce1f6fbdb5 vo_aa: +subtitles, +progressbar, key violation with mplayer keys fixed, +consoleblanking disabled, +/dev/vcsa checking +header change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1554 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 15:19:28 +00:00
folke 51248df257 vo_aa: +subtitles, +progressbar, key violation with mplayer keys fixed, +consoleblanking disabled, +/dev/vcsa checking
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1552 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 15:17:44 +00:00
folke c95a45a8fe All aalib options can be passed to aalib (-aaXXX), also -aahelp is new. fixed wrong char
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1539 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 19:36:43 +00:00
folke 992bd08506 All aalib options can be passed to aalib (-aaXXX), also -aahelp is new
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1538 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 19:27:57 +00:00
atmos4 26543fef95 Fix OSD, small misspelling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1528 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-15 07:21:33 +00:00
folke baa44960ad write fault error fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1521 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-14 19:23:17 +00:00
folke dca17b4044 vo_aa: configurable now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1519 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-14 19:00:00 +00:00
atmos4 76eadb38e0 Added cool aalib vo driver.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1512 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-14 12:30:56 +00:00