1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00
Commit Graph

30899 Commits

Author SHA1 Message Date
reimar
2b7b000b80 Add const to ass_read_stream fname argument, the string is not modified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30740 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:51:23 +00:00
reimar
72d18a204f Mark stream open filename parameter as const, the filename string is not
modified by these functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30739 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:47:04 +00:00
reimar
136c046e06 Add cast to proper type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30738 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:44:02 +00:00
reimar
42096a34d5 Make more option-parsing related function arguments const.
Prerequisite for making stream_open filename const in a proper way.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30737 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:32:28 +00:00
reimar
b99077dc4c Remove unused function declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30736 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:29:00 +00:00
reimar
e522920697 Make local-only cddb functions static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30735 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:27:53 +00:00
reimar
25f353346d Add const to mpvdec declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30734 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:23:58 +00:00
reimar
bdf546c7c6 Remove declarations of functions now already declared in stream.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30733 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:19:32 +00:00
reimar
5a2289137f Fix check for wrong variable: len can be unitialized but not normally < 0,
the return value needs to be checked to detect an error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30732 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:06:05 +00:00
reimar
adc345131f Fix silly type of guiGetEvent argument to use void * instead of char * and
get rid of some of the insane amount of casts necessary to hide the utter
idiocy of the type used before.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30731 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 21:27:22 +00:00
stefano
150de6566f Remove pointless empty line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30730 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 21:21:29 +00:00
stefano
83b756a65d Apply consistency nit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30729 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 21:12:38 +00:00
diego
2074d1a3e7 Unconditionally declare fast_memcpy() and mem2agpcpy().
This fixes the following warnings on non-x86 systems:
libvo/aclib.c:162: warning: no previous prototype for 'fast_memcpy'
libvo/aclib.c:196: warning: no previous prototype for 'mem2agpcpy'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30728 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 13:20:56 +00:00
komh
16d8b08089 Define O_BINARY if it is undefined.
This removes a platform check for open().



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30727 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 09:09:57 +00:00
zuxy
b2e8cf6bc2 Include libmpcodecs/vd.h for declaration of "fullscreen".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30726 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 08:39:55 +00:00
reimar
70647bb9cb Disable old-style implicit rules to fix MinGW/Cygwin compilation
(mplayer-rc.o can not be generated).
TO be improved or removed if/when someone figures out the issue.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30725 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 23:33:10 +00:00
reimar
1783ce38f6 Fix compilation: the dct64_MMX_func variable should be declared only once,
not every time the header is included.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30724 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 22:29:57 +00:00
diego
abc9495e0c Add #includes for mp_input_check_interrupt() and mplayer_put_key(), fixes:
mencoder.c:226: warning: no previous prototype for 'mp_input_check_interrupt'
mencoder.c:232: warning: no previous prototype for 'mplayer_put_key'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30723 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 20:16:30 +00:00
ramiro
eb846cb700 Reorder buffer debug. Also print out if slice was buffered.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30722 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 16:46:43 +00:00
compn
0139c2394a add older lhacm codec for formats 0x70-0x73 to codecs.conf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30721 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 13:40:45 +00:00
kostya
43423627d4 FFmpeg Bink video now supports alpha channel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30720 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 09:04:18 +00:00
diego
dc33991b88 Add -Wmissing-prototypes to CFLAGS if available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30719 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 07:55:47 +00:00
diego
9c856aeffe Mark theRenderProc() as static, it is only used within the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30718 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 07:54:43 +00:00
diego
5405958e34 Add header for macosx_finder_args() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30717 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 07:54:10 +00:00
zuxy
9c0f9900ee Reset output color after each line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30716 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-23 06:42:51 +00:00
diego
38648cae06 Mark sleep_accurate() as static, it is only used within the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30715 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 21:53:06 +00:00
tack
42beaf6883 Clarify that AC3/DTS passthrough is also possible with HDMI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30714 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 19:17:25 +00:00
tack
9f40f991f3 Update my (Jason Tackaberry) email address and contributions in AUTHORS
file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30713 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 17:06:24 +00:00
diego
202fbbecdf Mark vcd_get_track_end () and vcd_read_toc() as static.
They are only used within the respective files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30712 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 16:32:03 +00:00
diego
6676504bbe Conditionally declare mp_input_slave_cmd_func().
It does only get compiled on MinGW and OS/2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30711 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 15:35:53 +00:00
diego
7262f6c9b4 Properly declare get_term_charset() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30710 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 15:34:56 +00:00
tack
cc8a878a9c Get the proper codec id when a WAVE_FORMAT_EXTENSIBLE extension exists in a
wave file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30709 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:27:32 +00:00
tack
2f19fe91ec Output WAVE_FORMAT_EXTENSIBLE extension in wave header when waveheader
option is enabled (default) and channels > 2.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30708 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:24:53 +00:00
diego
2b85db87ab Add required mplayer.h and access_mpcontext.h #includes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30707 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:11:33 +00:00
diego
6ad59a1eae Mark data argument of my_ao_write() function as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30706 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:05:30 +00:00
diego
5206db7e60 Mark member info of struct ad_functions_s as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30705 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:04:39 +00:00
diego
b2172f784d Mark a bunch of video filter structures as const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30704 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:03:46 +00:00
diego
50e3d811db Remove commented-out cruft line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30703 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 14:02:18 +00:00
diego
e59081d121 Remove pointless '#if 1' preprocessor directive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30702 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:59:32 +00:00
diego
2f6fca9481 Add declaration for exp_EH_prolog_dummy().
This avoids a warning with -Wmissing-prototypes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30701 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:55:00 +00:00
diego
7f120a0443 Declare all public mp3lib functions in mpg123.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30700 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:52:59 +00:00
diego
dcd229d6fc wording fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30699 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:51:58 +00:00
diego
c8a6c6385b Declare functions from network.c in network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30698 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:50:48 +00:00
diego
638b2af889 Move struct streaming_control from network.h to stream.h, where it is used.
This will help in declaring some public functions where they really belong.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30697 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:27:58 +00:00
diego
3784d4f992 Remove commented-out declaration of non-existing function streaming_start.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30696 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 10:14:00 +00:00
diego
36a14ac50c Declare externally used variables from vd.c as extern in vd.h.
This saves declaring them as extern all over the place.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30695 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 09:51:44 +00:00
diego
22e310b9ae Declare public function print_vprp() in aviprint.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30694 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:36:36 +00:00
diego
289697dc50 Add public function VideoForWindowsVersion() to the appropriate header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30693 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:33:03 +00:00
diego
b18b59b8d4 Add header for v4l2_write() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30692 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:31:56 +00:00
diego
f9c2ab17af Declare stream_fill_buffer() and stream_seek_long() unconditionally.
They are public functions that are unconditionally compiled, so they
should not be declared conditionally.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30691 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:30:34 +00:00