1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-19 05:41:16 +00:00
Commit Graph

25648 Commits

Author SHA1 Message Date
reimar
023340d6bd Slightly simplify read_buffer code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25675 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 20:32:42 +00:00
reimar
1b4cd62e0b Simplify: use memset
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25674 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 20:23:46 +00:00
reimar
27064210bc Fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25673 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 20:12:04 +00:00
reimar
dfa7718673 Remove useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25672 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 20:10:39 +00:00
ben
3e3fcae6bf document vo.* and ao.* playback profiles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25671 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 19:59:08 +00:00
ulion
85941859b2 Fix buffer overflow bug by calculate the buffer size accurately.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25670 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-11 10:15:46 +00:00
ben
989b1fe59b allow profile loading per audio/video output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25669 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 23:32:50 +00:00
reimar
89518d1df3 Add an extra check to avoid a case that cause black lines in scaled
vobsubs due to an overflow in the multiplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25668 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 21:47:33 +00:00
eugeni
8661c5f8c0 Clear demuxed data when subtitle track is changed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25667 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 19:59:09 +00:00
eugeni
85413c62e8 Use malloc for codecdata. Fixes segfault in free_sh_sub.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25666 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 19:47:18 +00:00
ben
ec74c68e3d updated english manpage with protocol/extension profile loading feature
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25665 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 19:21:56 +00:00
ben
1043075a0d factorizes variable check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25664 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 18:46:08 +00:00
ben
8944441a44 add support for per protocol and per extension playback profile loading
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25663 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 18:45:08 +00:00
ben
7a4efd3ce7 export m_config_set_profile()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25662 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 18:41:21 +00:00
ben
b04ef6f779 allow generation of ctags and etags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25661 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 18:40:26 +00:00
ulion
73f51e7f78 Deny the code using realpath().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25660 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-10 12:44:17 +00:00
gpoirier
2bfb6a2436 sync w/r25657
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25659 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 16:20:42 +00:00
reimar
f9e6def939 Codecdata must always be malloc'd, fixes free being called with an
invalid pointer when freeing codecdata.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25658 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 07:18:14 +00:00
compn
41f6ee5c0e dumpstream is NOT a better way to copy a dvd title
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25657 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 03:38:47 +00:00
compn
1bff7e5fda dvd-device can specify iso files too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25656 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 03:37:17 +00:00
uau
77c0eb8af9 Set CONFIG_SWSCALER in order to avoid imgresample
Set "CONFIG_SWSCALE=yes" in config.mak. This prevents building
libavcodec/imgresample.o which has symbols that conflict with swscale
ones.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25655 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:52 +00:00
uau
b5aa5692cd Remove unnecessary <signal.h> includes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-09 01:17:49 +00:00
reimar
50e083bdb9 Use getppid instead of getpid and move a snprintf to where it is actually needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25653 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 22:18:48 +00:00
reimar
afb944d4c0 Simplify a needlessly complex use of snprintf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25652 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 22:18:35 +00:00
reimar
876b028289 Do not use exit_player in the signal handler, this code just can not
be called from a signal handler.
Instead only make the input system generate quit commands for the first
CTRL+C and otherwise do getch2_disable and exit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25651 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 21:40:44 +00:00
eugeni
87340de57f Clear fonts when the file is closed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25650 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 12:46:20 +00:00
eugeni
e779ddad56 Fix ass_clear_fonts not deallocating fontdata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25649 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 12:45:41 +00:00
diego
fe86c8557a Fix illegal identifiers, names starting with __ are reserved for the system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25648 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-08 00:37:41 +00:00
diego
7023cdec7b Fix illegal identifier, names starting with _ and uppercase are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25647 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 23:43:10 +00:00
diego
547094ba51 Fix illegal identifier, names starting with _ and uppercase are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25646 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 23:34:15 +00:00
diego
1aac3c3fde Fix #endif comment, sync with libdvdcss r208.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25645 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 22:46:53 +00:00
eugeni
169e65afd9 No need to reinvent strdup...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25644 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 21:06:50 +00:00
kraymer
1f007a0a79 sync with r25158, patch by JRaSH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25643 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 17:23:13 +00:00
eugeni
0039652a08 Deallocate audio track codecdata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25642 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 14:13:50 +00:00
eugeni
d2a07a1270 Copy font data to ass_library instead of referencing demuxer-owned memory.
This fixes segfault when fonts are accessed after demuxer has been closed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25641 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 14:02:06 +00:00
ulion
5ad67a4f7c Set freetype flag in the font_desc_t when using a freetype font.
Patched by Guillaume LECERF <foxcore A gmail P com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 13:29:13 +00:00
reimar
c3d4f52d7c Add heartbeat-cmd option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25639 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:30:15 +00:00
reimar
91ba3d6531 Remove some now unused screensaver stuff code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25638 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:22:03 +00:00
reimar
3259a15f61 Remove most of the messy screensaver code in favour of only XResetScreenSaver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25637 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:27 +00:00
reimar
f9b1151801 Use a screensaver_off variable to save current state and avoid
uselessly disabling twice.
Also needed for a future patch.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25636 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-07 12:18:17 +00:00
diego
e27d606714 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
for the system, names starting with _ are reserved at file level.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 23:20:15 +00:00
reimar
3dc7792ae3 Make some functions in mplayer.c static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25634 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 22:03:59 +00:00
diego
1660147878 Relicense to GPL v2 or later with Reimar's permission.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25633 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 21:19:59 +00:00
reimar
fd09be6b8d Whitespace-only cosmetics: get rid of tabs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25632 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 20:27:14 +00:00
diego
b1760bdba5 Rename common.[ch], there are too many files by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25631 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:31:26 +00:00
diego
37b73c7b07 cosmetics: alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25630 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:25:27 +00:00
diego
d64cf43315 Rename common.[ch] to gtk_common.[ch], there are too many files by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25629 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 16:22:00 +00:00
rtogni
2bc03fd010 Don't overread audio data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25628 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 14:30:25 +00:00
rtogni
b9a788edaa Don't dynamically allocate sub_packet_lengths[] in raac demuxing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25627 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 14:10:30 +00:00
rtogni
7cbf2af4a3 Do not pass timestamp to realvideo binary decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25626 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 13:49:07 +00:00