1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

130 Commits

Author SHA1 Message Date
reynaldo
4728357b58 Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 17:45:36 +00:00
rfelker
d1f744937e reverse previous patch which caused sig11.
1000000000000000l: broken codecs.conf code modifies every page of a
huge object -> tons of page faults and cannot be const. this needs to
be fixed! do we have a volunteer to remove the whole codecs.conf shit?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18035 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 07:11:29 +00:00
rfelker
f571bed7c3 1000l: absolutely huge missing const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18034 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 06:44:54 +00:00
reimar
e8954b5bf9 remove mp_msg.c dependency when compiling codec-cfg binary.
Fixes MinGW compilation (caused by missing -liconv), this solution seems best
to me because of e.g. cross-compilation issues just adding -liconv might cause.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 23:06:09 +00:00
diego
74baa96939 Fix compilation command in comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17764 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-07 15:40:49 +00:00
diego
6650d595b0 Comment out debug output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17763 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-07 15:39:01 +00:00
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
ods15
5cba0a4078 Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'll
print bogus stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17121 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 05:12:07 +00:00
ods15
72e4d090f8 another 100l, codec-cfg relied on mp_msg printing nothing....
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17113 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 12:03:51 +00:00
ods15
a6f7543bfb 100l, codec-cfg needs fixing after -msgl patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 11:59:14 +00:00
reimar
0446e090b1 Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:56:24 +00:00
diego
a30de31815 codecs-status.html should be written to an existing path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15316 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 13:58:30 +00:00
diego
d56fd3bc31 compilation fix for codecs2html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15306 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:15:07 +00:00
diego
1242c666da 1l typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15305 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:11:45 +00:00
diego
a668ab39c0 Fix wrong compilation instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15304 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 16:09:44 +00:00
reimar
4bfc3589a4 Allow Y8 and Y800 as OUT format in codecs.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14171 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-17 13:27:34 +00:00
diego
3ebf6f0135 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 09:09:29 +00:00
reimar
e3efa72a67 fix crash when a "driver" line is missing in codecs.conf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13937 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-14 11:39:23 +00:00
faust3
b4918b7bae Memory Free function Fix, based on patch by Wei Jiang <jiangw98@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13808 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 10:09:52 +00:00
diego
1013ecd44b Translatable messages moved to help_mp-en.h.
patch by The Wanderer <inverseparadox at comcast dot net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13620 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-12 11:29:21 +00:00
alex
d8c3060141 removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12342 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 10:18:33 +00:00
attila
fab8cc090f add -codecs-file for selecting a specific codecs.conf on the comand line
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11760 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-08 18:02:31 +00:00
rik
96dfb6e860 updates for new image formats for zoran mjpeg passthrough
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11389 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-04 20:02:09 +00:00
diego
c61a9674f1 codecs-in.html moved to DOCS/tech/.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10860 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-12 19:14:56 +00:00
alex
4736af8f1a added nv12/nv21 and some other fourccs (still not synced)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10747 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 21:11:35 +00:00
diego
0bb8ec366f FourCC is the preferred spelling according to iive and arpi.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10521 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-04 07:46:22 +00:00
diego
ec8c6c86e6 spelling/grammar fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10502 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-29 23:12:30 +00:00
alex
5b89123809 removed our native svq1 and huffyuv implementation as libavcodec's implementations are much better
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10419 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 15:56:20 +00:00
iive
fd55a47f01 basic xvmc image support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10317 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-21 01:47:26 +00:00
diego
339e4f20af Add missing language suffix to DOCS/ path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10287 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-13 01:25:11 +00:00
arpi
0d2a42c583 10l
foudn by Steven Schultz


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-16 02:22:37 +00:00
arpi
d2392f8436 Fallback to builtin (generated from etc/codecs.conf at compile time)
codecs.conf if no ext configfile found.
Based on patch by Sidik Isani <lksi@cfht.hawaii.edu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8468 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-15 23:45:19 +00:00
arpi
fa0923d83d - fixed vfw/vfwex/acm fm names
- disabled win32 separation


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8212 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-16 05:31:27 +00:00
arpi
d8b9a179e8 This patch goes into the #ifdef CODECS2HTML section of
codec-cfg.c and makes it possible to build that utility
again.  It also fixes two cases where *_codecs was set
to NULL if it was NULL ;-)
Sidik Isani <lksi@cfht.hawaii.edu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8206 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-16 03:09:50 +00:00
arpi
454110ceea - rgb1, rgb4 support
- format mapping support
- memleak fix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7771 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 00:20:44 +00:00
arpi
e8cc8584f1 new func: select_codec() - disables codec by name
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7506 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-26 01:28:32 +00:00
arpi
db4531add4 make -ac/-vc help look better
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7194 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 13:22:03 +00:00
arpi
1b667f61ba -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 21:44:20 +00:00
arpi
19704bb73a native DV audio/video decoders using libdv
based on patch by Alexander Neundorf <neundorf@kde.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6928 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 17:23:22 +00:00
michael
bfe5d4d4b4 planar yuv 444 422 411 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 12:39:08 +00:00
albeu
5319a8118a Support for Xvid using their new api. If divx4 compatiblity is disabeled
in xvid it can be used along with divx4.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6702 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-10 20:56:57 +00:00
arpi
d7d187300d new global codec flag: align16
it means that width/height should be round up to n*16 (some buggy codec
needs it to avoid sig11 / image distortions)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6566 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-25 22:26:34 +00:00
alex
35dc99b12e yvu9 and if09 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6527 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 16:01:35 +00:00
arpi
f60b5944a4 SVQ1 added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6507 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-22 23:09:40 +00:00
alex
1aa8394fa4 yvu9 support, 0l to me becouse i forget to commit it (0l becouse i've drinken 1litre of bier, yet ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6490 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 20:25:45 +00:00
arpi
cd356609ae realvideo support by Florian Schneider <flo-mplayer-dev@gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6344 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-08 20:51:50 +00:00
arpi
a62a42f3f1 codecs.conf versioning - patch by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6201 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-26 22:39:38 +00:00
arpi
b171ebd099 'static' outfmt-flag added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6104 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-16 21:50:38 +00:00
albeu
55afd4ed10 printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5938 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 11:00:16 +00:00
arpi
42db8b366c mpegpes added... thx Mw3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5479 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 19:09:55 +00:00