Commit Graph

30404 Commits

Author SHA1 Message Date
reimar 9869be806b Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30395 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:54:03 +00:00
reimar 3fae575483 Zero freed pointers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30394 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:53:28 +00:00
reimar 7afaecc111 Check for fork failing and make sure cache_uninit always frees the cache data
even if fork failed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30393 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:50:50 +00:00
jrash a281ccb094 sync with en/mplayer.1 r30336
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30392 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 23:53:15 +00:00
reimar c2ffe44a28 Remove any auto-inserted lavc filter.
Makes sure it will not be around if we e.g. try again with a different codec,
which can lead to -vo null being excessively slow.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30391 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 23:19:59 +00:00
reimar 3526daed7a Fix sub_free to actually free the subtitle data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30390 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 22:10:28 +00:00
reimar 7b953c1763 Fix a memory leak in the subreader.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30389 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 21:49:05 +00:00
reimar 1e4f16a344 Replace strncat by av_strlcat which is easier to verify for correctness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30388 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 21:16:54 +00:00
reimar 66998a98da Also handle ASS subtitles when removing subtitles via sub_remove slave command.
Fixes memory leaks and other strange behaviour like mismatch of name and subtitle data.
Based on patch by Yuriy Kaminskiy [yumkam mail ru].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30387 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 21:10:40 +00:00
reimar 3876d60f62 Avoid duplicating code to remove subtitles (sub_remove slave command).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30386 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 20:59:15 +00:00
mru 134976ee4d Move array specifiers outside DECLARE_ALIGNED() invocations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30385 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-22 03:26:30 +00:00
diego 937c4fab19 Disable all hwaccel glue code from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30384 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-21 11:16:03 +00:00
cehoyos 34db438211 x264 version 0.83 is required.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30383 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-21 10:37:35 +00:00
cehoyos 4e92beb4ea Fix compilation after FFmpeg r21353.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30382 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-21 10:31:34 +00:00
conrad 450cef62b0 More const-correctness for sws_scale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30381 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-21 09:52:11 +00:00
ramiro 06c49d538d Document some more of SwsContext.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30380 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-20 03:26:12 +00:00
stefano 39bcd6edcf Avoid more pointless tests, the input and output formats need to be
supported both as input and as output, as the conversion performed is:
yuva420p -> src -> dst -> yuva420p.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30379 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-20 00:22:31 +00:00
stefano e8da74db1f Split overly long line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30378 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 22:36:46 +00:00
stefano 85d89af72e Make selfTest() perform tests where both the input and output formats
are supported, avoid pointless loops.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30377 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 21:52:00 +00:00
diego 2c6df2c120 Create libavutil/avconfig.h, required for FFmpeg compilation.
based on a patch by Etienne Buira, etienne.buira free fr


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30376 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 18:53:16 +00:00
ptt c2ba58aefc synced with r30336
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30375 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 18:02:44 +00:00
benoit de1ca7fb29 Make const prototypes for input sources of sws_scale_* stricter.
Patch by Alexis Ballier gmailify($firstname, $familyname)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30374 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 16:30:20 +00:00
ramiro 4277621a41 swscale-example: Add comment about the use of av_{malloc,free}.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30373 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 15:42:51 +00:00
zuxy 37fd4d44bd Set HAVE_FAST_CLZ according to CPU type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30372 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 13:35:57 +00:00
ramiro d4e79342c1 Remove useless forward declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30371 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 11:35:04 +00:00
zuxy 4455af6720 User friendly warning message that gives out names of source and target formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30370 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 05:21:17 +00:00
mru 51f1113b15 swscale-example: use av_malloc()
Image buffers require 16-byte alignment, so av_malloc() should be used.
Fixes crash on PPC.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30369 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-19 03:47:11 +00:00
stefano d448df5add Split long line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30368 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 23:34:07 +00:00
stefano 18f9a9bebc Convert int -> enum PixelFormat in doTest().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30367 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 23:33:17 +00:00
ptt 2ab8c5d481 synced with r30197
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30366 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 10:44:30 +00:00
zuxy 2257b14a19 Define out currently unused static functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30365 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 08:42:04 +00:00
compn 9b08d26bfb add uldx and vspx fourcc to ffodivx in codecs.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30364 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 03:55:16 +00:00
zuxy 3b949d7bdf Support for detection of AMD Phenom.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30363 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-18 03:06:43 +00:00
stefano 91e4519ed0 Remove stray '\' at the end of macro definitions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30362 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:29:31 +00:00
stefano c60f68724c Remove duplicated or pointless newlines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30361 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:17:47 +00:00
stefano aadf8843d7 Factorize error message logging, log it if the converter cannot be
set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30360 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:07:37 +00:00
stefano 6db184bb80 Reindent after the last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30359 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:02:20 +00:00
stefano 3c54865aea Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
only if the input format is paletted.

Fix potential crashes/weirdness if the input format is non-paletted.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30358 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:00:01 +00:00
mru 1a8479b95e Remove double const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30357 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 19:26:35 +00:00
stefano acd1a4075d Factorize error message logging in rgb2rgbWrapper().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30356 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 15:11:25 +00:00
reimar 1a5841fbbb Add a proper header for our strsep implementation so strsep will
not be used without a declaration, causing issues on 64 bit systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30355 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 15:08:31 +00:00
reimar ed03545c3c Reuse the fmt-conversion code instead of duplicating the functionality.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30354 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:58:44 +00:00
reimar 89d8ae77a8 Add big- and little-endian variants of the 15 and 16 bit RGB/BGR formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30353 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:54:38 +00:00
reimar aedf40e334 Do not depend on PIX_FMT_RGB32 which is (currently?) not part of the public API.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30352 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:53:12 +00:00
reimar 2f7f6fdb9d More format support in fmt-conversion.c: split RGB32 and BGR32
into ARGB, BGRA, ABGR, RGBA.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30351 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:40:44 +00:00
mru 1d08d54a97 Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30350 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:25:19 +00:00
mru 9c1aafc17c Remove inline from initFilter()
It makes no sense having that function inlined.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30349 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:25:17 +00:00
reimar 8afef4e19c Hack to avoid a GUID_NULL clash on 64 bit MinGW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30348 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 13:28:29 +00:00
reimar 77af8d0859 Add hack to fix tvi_dshow compilation with 64-bit MinGW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30347 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 13:18:59 +00:00
reimar 33809543d8 Mention systems that have received major build fixes recently in the Changelog.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30346 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 12:32:25 +00:00