diego
89dfec20a2
Declare mp_input_register_options() in input/input.h.
...
This also avoids a forward declaration in mplayer.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30572 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 12:39:58 +00:00
diego
7078ce833e
GUI: #include associated .h files in .c files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30571 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 12:31:24 +00:00
reimar
2347661b0e
Check that fontconfig version is at least 2.4.2, which is required for the
...
included libass.
A more fine-grained check would be possible to e.g. allow older versions
if internal libass is disabled, but seems like overkill.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30570 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:57:37 +00:00
reimar
318156ae6b
Reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30569 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:19:52 +00:00
reimar
270ebbb913
Just use goto instead of reimplementing it badly with a do { } while (0) and
...
break.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30568 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:17:12 +00:00
reimar
f2488e8537
Change aspect calculation code to switch to floating point earlier so integer
...
overflows are not possible.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30567 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:13:20 +00:00
diego
4e9a7e9a68
QuickTime X supports SAR in H.264.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30566 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:13:01 +00:00
reimar
cfcbf57e54
Return NULL instead of 0 for function returning a pointer.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30565 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:11:49 +00:00
diego
9fefbedb17
Mark uninit() as static; it is only used within the file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30564 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:09:58 +00:00
reimar
fdb18951f1
Remove useless casts.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30563 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:09:24 +00:00
reimar
24dadf50a3
Remove useless code, QUERY_FORMAT already ensures the requested format is supported.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30562 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:06:04 +00:00
reimar
9c5a56a1c4
Make vd_functions_t describing codecs const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30561 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:04:14 +00:00
diego
8a67379319
Rename exit_reason_t enum to exit_reason and do not typedef it.
...
The _t namespace is reserved for POSIX; the typedef is pointless obfuscation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30560 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 11:02:05 +00:00
reimar
8c21a0fd73
Make vd_info_t const for pointer in vd_functions, avoids some warnings about
...
initialization discarding the const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30559 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 10:58:01 +00:00
diego
11b55ec7a8
Fix exit_player() usage throughout the codebase.
...
exit_player() was declared with differing parameter types in mplayer.c and
mplayer.h. Make the declaration in the .h file match the one in the .c file
and adjust all usages of exit_player() throughout the codebase. Also move
the exit_player() declaration into mp_core.h next to exit_player_with_rc().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30558 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 10:53:20 +00:00
reimar
3e5d40ff2e
Remove excessive ()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30557 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-14 09:19:30 +00:00
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
1b3d1fcd9d
Remove unused variables, fixes the warnings:
...
libao2/ao_mpegpes.c:336: warning: unused variable 's'
libao2/ao_mpegpes.c:335: warning: unused variable 'i'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30555 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 21:29:32 +00:00
compn
833a4e427d
add netspeak versions of truespeech and gsm audio codecs to codecs.conf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30554 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 17:39:34 +00:00
diego
134e9685a2
10l: Revert previous commit about CONFIG_HARDCODED_TABLES/CONFIG_MPEGAUDIO_HP.
...
These two variables are handled different from others in libavcodec/Makefile,
thus the previous way of adding them to config.mak was correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30553 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 16:59:42 +00:00
diego
24959bb3b4
Use normal way to add CONFIG_HARDCODED_TABLES/CONFIG_MPEGAUDIO_HP to config.mak.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30552 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 15:51:03 +00:00
diego
23a00e3486
Move def_hardcoded_tables to the FFmpeg section of config.h, where it belongs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30551 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 15:47:55 +00:00
diego
93abb4f092
Fix shared library libavutil check: test for av_clip instead of av_gcd.
...
av_gcd is not available in the header #included in the check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30550 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 15:46:33 +00:00
diego
5b67d8bfee
osdep/mplayer.rc.o depends on version.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30549 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 14:31:15 +00:00
reimar
f346180391
Move the check for valid sh_video into the init_vo_spudec, this fixes a crash
...
when command.c calls this function without having to duplicate the check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30548 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-13 11:38:36 +00:00
reimar
59d3c04b58
Dynamically increase probe size for lavf demuxer up to 2 MB.
...
This will read progressively more data if we still did not detect
the format. The lavfpref demuxer is unaffected to avoid hanging
for a long time in case of a slow network stream that some native
demuxer may be able to handle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30547 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 20:38:29 +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
diego
f34f239cce
Explain WIN32_LOADER definition hack.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30545 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 14:25:25 +00:00
diego
5b01485ea3
Get rid of pointless CONFIG_QTX_CODECS --> QTX preprocessor indirection.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30544 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 14:10:21 +00:00
jrash
f9fb2cb18b
Synced with help_mp-en.h rev. 30515
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30543 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 13:47:11 +00:00
diego
c53143fffb
Fix linking of loader test programs when loader is disabled.
...
Dependencies were only set correctly if the loader code was enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30542 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 13:45:19 +00:00
komh
47f78d28f1
Add win32 loader support for OS/2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30541 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-12 01:38:14 +00:00
cehoyos
592d2e3edf
Improve comment for GeoCodec.dll
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30540 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 23:59:08 +00:00
diego
03721390a4
Remove pointless egcs #ifdefs; that compiler was never supported.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30539 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 22:54:34 +00:00
diego
0a3901e1ae
Remove extern "C" declarations from loader code.
...
Our loader code is not a general-purpose library and not used from C++.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 14:33:57 +00:00
diego
19f5552dd1
Move one more FFmpeg-related definition to the FFmpeg section of config.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30537 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 10:56:09 +00:00
diego
13db72bd96
Move some FFmpeg-related definitions to the FFmpeg section of config.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30536 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 10:52:36 +00:00
diego
90161292d9
Move def_dos_paths to a better place within config.h; not just FFmpeg uses it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30535 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 08:52:15 +00:00
compn
4c8061bf9f
add comment about geov codec crashing on win32 in codecs.conf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30534 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 02:25:38 +00:00
cehoyos
cd3d8675f6
GeoCodec.dll also supports fourcc GEOX.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30533 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 01:28:21 +00:00
cehoyos
182001aef1
Support GEOV video codec: Hangs on exit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30532 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-11 01:12:37 +00:00
reimar
77e66ee012
Add stubs for several functions, needed for CineForm codec.
...
Patch by Steinar H. Gunderson [sgunderson bigfoot com]
with some modifications by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30531 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-09 19:43:02 +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
kostya
5c10618fa1
There is Indeo 5 decoder in FFmpeg now, so register it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30529 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-09 08:46:07 +00:00
diego
fde8ee073d
Fix linking of mp3lib test programs when internal mp3lib is disabled.
...
Dependencies were only set correctly if internal mp3lib was enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30528 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-08 23:23:04 +00:00
diego
05b63e5ded
Fix linking of liba52 test program when internal liba52 is disabled.
...
Dependencies were only set correctly if internal liba52 was enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30527 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-08 22:21:16 +00:00
diego
edf4053b98
Remove disabled AVIFILE-specific preprocessor code.
...
It will never get enabled in MPlayer, nor is it more than cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30526 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-08 10:14:42 +00:00
diego
79641e6232
Merge some preprocessor conditionals where appropriate.
...
This saves a few lines and simplifies the code slightly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30525 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-08 10:05:49 +00:00
reimar
aedd1b4de8
Fix subtitle display for DVDs using fade-in/fade-out.
...
This does not do the actual fading, this is not supported by MPlayer,
but will just use the highest alpha value used during display.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30524 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-06 19:57:45 +00:00
reimar
e008f62627
Make mkalpha function simpler, faster and more correct.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30523 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-06 19:18:09 +00:00