reimar
644f2b33ec
Remove now unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30423 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 16:38:46 +00:00
cehoyos
f712f0ee96
VCR2 fails for mpeg12, decodes incorrectly (and cannot be fixed) for
...
VDPAU, and I doubt it works for XVMC or mpegpes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30422 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 16:06:41 +00:00
reimar
573a57de1c
Reset the parser on seek. Should fix some cases of audio "blips" after seeking.
...
AC3 is still broken due to the libavcodec parser being broken.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30421 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 15:19:14 +00:00
reimar
71dcc053fe
Move the resync-related code into more consistent places instead of having it
...
scattered all over the place with half of it forgotten in some places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30420 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 15:16:39 +00:00
stefano
213092c8dc
Use av_get_bits_per_pixel() for computing the bits per pixel of the
...
source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30419 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 12:55:05 +00:00
reimar
4b2e107710
Fix ftp support to properly support large files > 2GB.
...
Patch by Yuriy Kaminskiy [yumkam mail ru]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30418 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 10:13:33 +00:00
Gabrov
f5209d8cc4
new year in version string
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30417 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:21:18 +00:00
Gabrov
0d4517c688
typo fix, accidently reverted the new year patch with previous commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30416 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:19:47 +00:00
Gabrov
4d300c9056
synced with r30414
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30415 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:16:13 +00:00
Gabrov
e61e9b0b8a
big new year patch for documentations
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30414 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:15:18 +00:00
ramiro
c9c95b9046
Indent.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30413 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:02:40 +00:00
ramiro
0ae7ed631b
Don't redefine M_PI. It is already defined from libavutil/mathematics.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30412 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 02:16:26 +00:00
ramiro
d9f2d9d62c
Split swscale.c into scaler code (swscale.c) and utility code (utils.c).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30411 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 02:08:22 +00:00
reimar
4e90199d2e
Switch -vf halfpack to use only public API of libswscale.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30410 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 23:50:25 +00:00
reimar
cbcae4856c
Make the scale filter prefer yuv conversions that do not need chroma scaling.
...
Also always try keeping input and output format the same first.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30409 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 19:00:09 +00:00
reimar
86f1430a59
Remove the query_format_cache, it is extra complexity that makes improvements
...
difficult while the speed advantage in normal use cases is not measurable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30408 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 18:37:47 +00:00
reimar
f1714582b2
Simplify loop condition
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30407 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 18:28:47 +00:00
compn
a30dbabd9f
clean up netstream docs in TOOLS/README
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30406 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 15:41:58 +00:00
reimar
7725c6d73b
Make sure that a qstride of 0 (intentional or not) does not completely break
...
the code (crash if malloc(0) != NULL, otherwise wrong qscales used for B-frames).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30405 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 14:57:43 +00:00
reimar
570f1f5dec
Always call cache_uninit to immediately free everything cache-related if we
...
fail to enable the cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30404 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:27:13 +00:00
reimar
73dea88956
Call cache-uninit unconditionally, it should always be safe to call.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30403 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:21:07 +00:00
reimar
4e28b4bc9e
Change code to allow playing a stream even if enabling the cache failed
...
while still handling it when the user aborts the cache fill.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30402 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:13:28 +00:00
reimar
0e86058912
Make cache_init static, it is not used outside this file
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30401 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:51:13 +00:00
reimar
a92b3d446b
Support more formats for -ao pcm in raw mode.
...
Patch by Peter Fordham [peter.fordham gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30400 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:21:56 +00:00
reimar
03af209bf7
Handle Content-Length also when Content-Type is not set.
...
Based on patch by Yuriy Kaminskiy [yumkam mail ru]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30399 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:14:18 +00:00
reimar
e177aedfc1
Use atoll to parse Content-Length to support http for files > 2GB.
...
Patch by Yuriy Kaminskiy [yumkam mail ru].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30398 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:08:45 +00:00
reimar
567a8d69a4
Add an exit() to silence a gcc warning and ensure forked code will never
...
leave the cache-loop function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30397 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:03:10 +00:00
reimar
a2d8222f3d
100l, shouldn't write to memory after freeing it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30396 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:00:13 +00:00
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