diego
e8d058b8ef
Remove stray '/' from comment block, fixes the warning:
...
libmpcodecs/vf_eq2.c:8:1: warning: "/*" within comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30556 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 21:32:19 +00:00
diego
92e3238508
Mark all ad_info_t/vd_info_t structure declarations as const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30546 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 16:29:34 +00:00
greg
5cbce43341
libass: fix PAR correction
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30530 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-09 17:36:24 +00:00
reimar
22087004b8
Estimate pts of additional frame generated by tfields also if correct-pts is
...
not set, even if it is not very relevant currently.
Based on patch by John Lindgren [john lindgren tds net]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30485 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 22:22:32 +00:00
reimar
2aa41effad
Enable query_format for vf_tfields to make sure it isn't used for formats
...
that definitely do not work, e.g. RBG with tfields=1 mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30484 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 22:14:17 +00:00
reimar
3540bd7af5
Fix -vf tfields=1 so it does not read out of bounds or leave parts of the
...
output frame uninitialized.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30483 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 19:14:01 +00:00
diego
23db422c3d
Add missing license headers to all files in the libmpcodecs directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
diego
d6278576a1
Remove confusing comment.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30462 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 14:13:15 +00:00
reimar
1cf12c2492
Support more qscale types in most post-processing filters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30454 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-29 19:13:07 +00:00
reimar
d83fb575cf
Add an option to cropdetect to periodically reset the detected area.
...
Patch by [quetschke scytek de] with modifications by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30436 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-26 18:15:58 +00:00
reimar
fb8c6688c9
Fail ad_pcm initialization of WAVEFORMATEX header is missing instead of crashing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30428 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 20:46:26 +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
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
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
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
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
3abd3dcf57
We only need to disable seeking back in ad_ffmpeg when we actually _use_
...
a parser, not when just needs_parsing is set.
Fixes playback of e.g. ADPCM in AVI like http://samples.mplayerhq.hu/avi/imaadpcm.avi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30314 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-15 21:01:31 +00:00
reimar
df73622d23
100l, fix typo that caused ad_hwac3 to fail to compile.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30290 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-12 19:03:49 +00:00
reimar
071490a7a5
Attempt a simple hack to fix -ac hwdts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30288 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-12 18:37:23 +00:00
reimar
11cd52cad4
More changes needed to make ad_hwac3 truly independent from liba52.
...
Patch by Benoît Amiaux [benoit amiaux gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30286 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 21:06:00 +00:00
reimar
b27ec53011
Let the format filter do the AC3 endianness conversion instead of duplicating
...
the conversion code over and over.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30285 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:40:51 +00:00
reimar
33bc71f10d
Add support for distinguishing between little- and big-endian SPDIF AC3
...
and converting between both.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:27:52 +00:00
reimar
92b91439e0
Make ad_hwac3 independent of liba52. Needs a minor amount of code duplication,
...
though that is already done that way for dts support in hwac3.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30280 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 19:43:19 +00:00
reimar
17da96da5b
vf crop: do not generate 0-size slices, they are pointless and also confuse
...
libswscale to assume the wrong slice order.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30245 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-08 19:21:14 +00:00
zuxy
554231067d
Avoid the error message "Unsupported PixelFormat -1" for ffh264 decoding
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30233 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-07 04:59:50 +00:00
reimar
ef395a2f08
Replace deprecated sws_scale_ordered usages by sws_scale (which does the same).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30192 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 17:12:12 +00:00
reimar
8e778e5019
Add missing avcodec_close to vf_screenshot.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30185 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 15:56:33 +00:00
reimar
0eb6b9aa95
One more fix for -vf scale with alpha.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30159 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 01:25:35 +00:00
reimar
c0cae7b327
Also pass alpha plane to swscale, avoids crashes when converting between
...
YUV with alpha and some other format supporting alpha.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30158 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 01:06:34 +00:00
reimar
8afc25d710
Add support for YUV format with alpha and fix the codecs.conf entry for vp6a
...
to use it.
Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:45:07 +00:00
reimar
c07dec1a4a
Also pass the 4th plane for planar formats on to libavcodec.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30156 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:39:21 +00:00
reimar
0ff930da82
Try to put the list of output formats for vf_scale in a more sensible
...
order.
While the 16-bit yuv formats should not be preferred over the 8-bit ones,
it seems reasonable to probe them directly after the equivalent 8-bit formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30155 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:25:21 +00:00
reimar
a994808e31
Deduplicate the mp_image planes allocation code.
...
The code in vf.c and mp_image.c is almost the same, though the one in vf.c
is more up-to-date/has more bug fixes and thus is used as the basis
(which is why the diff is so big).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:09:35 +00:00
reimar
a326622304
Add support for 16-bit per component YUV formats.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 22:53:25 +00:00
reimar
22c0b2ed57
Support 440P in scale filter.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30142 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:06:09 +00:00
reimar
cc46a64a26
Add support for 440p colorspace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:03:17 +00:00
reimar
92f20f876f
Add a helper function to get the chroma scale shift and use to simplify mpi setup.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30138 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 11:08:44 +00:00
reimar
ca2af2d0e7
Add support for parsing audio streams (though should be easy to extend to video)
...
via libavcodec.
Parsing can be done at the demuxer stage (currently disabled) or at the decoder
(ad_ffmpeg, enabled).
Should allow using the libavcodec AAC, DTS, ... decoders independent of container
format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30130 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-27 15:28:01 +00:00
reimar
afc5a627d8
Support mp_image with allocated palette.
...
Fixes playback and a memory leak for FFmpeg codecs which use reget_buffer
with paletted data, e.g. cdgraphics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30116 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-26 11:51:19 +00:00
reimar
bd06a94738
Remove only use if MP_IMGFLAG_RGB_PALETTE to allow giving the flag a slightly
...
different meaning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30115 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-26 11:33:45 +00:00
reimar
929a159f69
Restore the old value of planes[1] in vf_palette at the end to ensure
...
we do not call free() on the fixed gray_pal array.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30114 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-26 11:11:41 +00:00
reimar
6023874828
Some ugly hacks to make compiling against a newer external version of libass work.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30107 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-24 10:51:24 +00:00
reimar
2908957147
Remove more direct includes of libass/ass.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30105 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-24 10:26:29 +00:00
attila
ea6fe5dc40
when using -v, print also which lavc codec has been used, not
...
just that the init was ok
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29970 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-28 18:01:54 +00:00