reimar
7e253f0171
Get rid of the "set" member of the subopt-parser struct, it made
...
it impossible to make the those struct variables const.
Also it is not really useful, and wastes space.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28862 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 20:41:02 +00:00
reimar
6cf4aafa36
Add some "const" to mpcodecs_vd_drivers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28861 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 20:20:12 +00:00
reimar
aaa937e798
The large -help help_text should be const so it goes into .rodata
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28860 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 20:11:23 +00:00
reimar
54c1d83197
Make audio_out_* structs const so they end up in .rodata
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28859 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:58:16 +00:00
reimar
d6bf2e318e
Make ao_info_t structs const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28858 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:43:12 +00:00
reimar
77e48c6635
Use code that is actually thread-safe to calculate delay, free space etc. in ao_win32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28857 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:23:24 +00:00
reimar
c73340f19a
Cosmetics: get rid of trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28856 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:10:54 +00:00
reimar
6067203cab
get rid of full_buffers variable, if the check it is used for is triggered
...
something is seriously wrong and the ao will not work right anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28855 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 19:07:50 +00:00
reimar
6040a6f3ea
Remove now unused buf_write_pos variable from ao_win32
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28854 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 18:53:29 +00:00
reimar
7ee7bd3d5b
Always write full buffers in ao_win32, except for the last block.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28853 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 18:50:50 +00:00
reimar
79df4b2499
Use calloc instead of malloc+memset
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28852 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 16:27:31 +00:00
gpoirier
1b1bc049db
sync w/r28807
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28851 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 15:52:48 +00:00
reimar
7c52124a2b
The 8 bit per sample formats are unsigned on Windows, fixes playback with
...
-af format=s8 for -ao dsound and -ao win32.
Patch by Zhou Zongyi [zhouzongyi (at) pset suntec net]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28850 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 13:22:48 +00:00
reimar
b33adcdd02
Refactor smalltex/tinytex EOSD optimization in vo_gl
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28849 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 12:56:13 +00:00
reimar
b6d7a2552c
Remove several useless casts from af_resample
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28848 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:47:51 +00:00
reimar
c2574a6b0a
Free af->setup and contents in af_resample uninit function.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28847 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:46:06 +00:00
reimar
37a09a25ff
Use calloc to allocate the af_resample ring buffers, reportedly using
...
non-zeroed buffers can cause initial noise, see -dev-eng:
[PATCH]: Add missing memset after malloc in libaf/af_resample.c
Wed, 4 Mar 2009 15:29:30 +0800
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28846 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:42:45 +00:00
reimar
33ca05bce9
Use a single malloc to allocate space for the circular buffers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28845 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:39:13 +00:00
reimar
1dd64224c4
Comment typo fixes for af_resample
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28844 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 11:31:18 +00:00
reimar
175cfc985c
Simplify EOSD code by rendering it in VOCTRL_DRAW_EOSD instead of genEOSD,
...
just like vo_vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28843 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:53:30 +00:00
reimar
eb761e688f
Remove duplicate OSD drawing introduced due to a conflict between r28840 and r28839.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28842 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:50:43 +00:00
reimar
3be5ebde87
Swap order of VFCTRL_DRAW_EOSD and VFCTRL_DRAW_OSD so that the EOSD is drawn
...
below the OSD and document possible issues when this is changed.
Patch by Uoti (though originally intended for a different issue) with extra comment by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28841 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:45:49 +00:00
reimar
d4748622fa
As for vo_gl, do not rely on draw_osd to render EOSD.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28840 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:39:58 +00:00
greg
658bcd5e35
Draw EOSD with VOCTRL_DRAW_EOSD instead of along with OSD.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28839 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:38:27 +00:00
reimar
397c4db88b
Do not rely on draw_osd to render the EOSD, instead draw it already at the
...
end of genOSD.
Fixes that the EOSD was drawn one frame too late.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28838 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:33:35 +00:00
greg
27b512e1f5
Fix \be blur start position.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28837 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 09:20:14 +00:00
greg
25abe9651d
Raise max. number of \be applications to 100, introduce #define for it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28836 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 09:20:09 +00:00
greg
d303d39798
Replace magic numbers (for subpixel accuracy masking) with a define.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28835 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 01:26:44 +00:00
greg
d4423f7516
Use blur with kernel [[1,2,1], [2,4,2], [1,2,1]] for \be.
...
This is faster than gaussian blur and similar to vsfilter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28834 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 01:17:05 +00:00
diego
e7cb3e94b6
Sync latest set of changes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28833 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:47:03 +00:00
diego
d2a84bde4f
Sync local changes file with #ifdef --> #if conversion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28832 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:41:09 +00:00
diego
848e6ff668
Sync local changes file with #ifdef --> #if conversion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28831 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 00:10:17 +00:00
diego
6ec76ef976
Add support for extracting the release version number from a VERSION file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28830 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 23:36:28 +00:00
diego
1005952a8b
Only add -Ilibdvdnav to the CFLAGS of the files that require it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28829 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:19:47 +00:00
reimar
2f2b271649
Sleep based on get_delay in ao_win32 uninit instead of a loop.
...
The loop for an unknown reason could rarely cause an endless loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28828 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 22:07:06 +00:00
diego
3e40788623
Simplify CFLAGS generation for individual targets.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28827 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:27:05 +00:00
greg
d4fbe9bc8b
Update libass changelog.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28826 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:16:21 +00:00
sdrik
71cc30d9d5
Fix bug introduced by me in r28756
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28825 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 21:02:33 +00:00
greg
9bad4bdce4
Combine adjacent overlapping, translucent glyph borders and shadows to
...
avoid luminance build-up, which looks ugly.
The resulting, modified bitmaps are stored in separate bitmap cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28824 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:47:33 +00:00
greg
8ad008e12a
Fix positioned events' y-position when pan-and-scan is used.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28823 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:59 +00:00
greg
f9aba2b83a
Support for subpixel accuracy of 3 bits for \pos and \move.
...
Also, restrict advance subpixel accuracy to 3 bits to reduce cache
bloat.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28822 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:56 +00:00
greg
40a38da7db
Style override for ScaledBorderAndShadow.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28821 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:52 +00:00
greg
2432bbd43d
Support ScaledBorderAndShadow property.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28820 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:48 +00:00
greg
a2b82120c0
Scale shadow displacement and blur size like border size.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28819 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:44 +00:00
greg
c23a1cdfb3
Round shadow displacement to nearest int.
...
Use double for shadow displacement parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28818 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:41 +00:00
greg
a2020815ad
Support a vsfilter special case:
...
If PlayResX or Y is 1280/1024 respectively and the other
PlayRes attribute isn't provided, use 1280/1024 for it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28817 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:39 +00:00
greg
153e7ada4c
Hack: half-merge glyph border with outline to avoid ugly anti-aliasing
...
in certain situations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28816 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:36:35 +00:00
diego
95dac90527
Simplify some vidix dhahelper build commands with automatic make variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28815 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:25:54 +00:00
greg
16731f6349
Ignore PlayResX/Y aspect ratio for font aspect ratio.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28814 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 20:05:56 +00:00
Gabrov
020d0923b0
synced with r28807
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28813 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 19:46:08 +00:00