1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 04:42:10 +00:00
Commit Graph

20515 Commits

Author SHA1 Message Date
voroshil
83cbe2fb21 convert DOCS/ru from koi8r to UTF-8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20530 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 15:32:47 +00:00
kraymer
86467d05bd fix "iconv: illegal input sequence" error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20529 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 14:58:46 +00:00
diego
eebfc280f5 Add a parameter to enable colorized console output.
patch by Andrew Savchenko, bircoph list ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20528 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 11:22:11 +00:00
diego
51e9d47b73 Fix libmpdvdkit2 linking on Mac OS X.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20527 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 09:08:19 +00:00
diego
75030bf8c0 Remove redundant variable setting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20526 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 08:39:19 +00:00
diego
9261f1cb95 Make libmpdvdkit2 compilation slightly more consistent with the other modules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20525 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 08:28:58 +00:00
nicodvb
0c1724959f a previous commit introduced a bug that prevented tables
from being parsed in the feeding phase;
removed useless debugs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20524 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 22:02:10 +00:00
reimar
a755d9a831 Fix possible crash: negative values may no be passed to render_one_glyph
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 21:52:26 +00:00
nicodvb
6d60c545d4 simplified assignment of subtitles stream in ts_parse()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20522 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 21:29:23 +00:00
reimar
9774de4be4 Handle windows path separator in filesel menu.
Fixes at least partially bug #494


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20521 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 21:10:59 +00:00
reimar
b7546da924 disable nonworking/broken code for now till I find out what it is supposed to do.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20520 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 18:16:00 +00:00
eugeni
ef5dee5d56 Revert r20517.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20519 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 17:29:55 +00:00
eugeni
978061ad27 Move ass_library initialization code to ass_mp.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20518 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 15:26:13 +00:00
eugeni
06758d89bc Copy the following functions to libass to avoid dependency on the rest of mplayer:
guess_buffer_cp
utf8_get_char
blur



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20517 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 15:03:30 +00:00
reimar
c443bde56a Add VIDEOMEMORY_SIZE define to allow to easily change it.
Needed for xvidix sine X seems to ignore VideoRAM settings < 8MB,
causing a mess when MPlayer and X use the same memory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20516 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 14:45:44 +00:00
rtogni
54abc1a05e Prevent segfault if video codec init fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20515 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 14:26:23 +00:00
reimar
fbe914dc00 Warn about vo_gl scaled-osd broken with -ass
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20514 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 14:16:42 +00:00
eugeni
7e9c778cf2 Fix width -> orig_width typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20513 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 13:59:36 +00:00
eugeni
572576eb67 Don't set PlayResX for plaintext subtitles.
This way font proportions will not depend on frame aspect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20512 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 13:58:30 +00:00
eugeni
870ed1a164 Add \N at the end of each subtitle line when converting from subdata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20511 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 13:52:51 +00:00
reimar
ec9819db2c Make sure we do not read beyond end of subtitle packet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20510 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 13:17:26 +00:00
reimar
64e9d8fc97 realloc subtitle buffers since subcp_recode might have decreased their size.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20509 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 12:44:15 +00:00
reimar
99c0130bda Quick hack to implement percent-based seeking, also fixes seeking with gmplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20508 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 12:32:12 +00:00
reimar
7006b27bb8 Factor out common cdda stuff from cdio and cdparanoia tests.
Also fixes configure showing cdda as both en- and disabled with libcdio.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20507 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 11:38:14 +00:00
nicodvb
3675d0466d handle broken ts packets before parsing the rest
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20506 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 11:17:28 +00:00
reimar
7d91ecbd14 Support new flac-in-ogg, fixes bug #229
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20505 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 11:05:49 +00:00
nicodvb
edf75a6184 cosmetics: reformatted after previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20504 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 11:00:36 +00:00
nicodvb
891bd61076 1000l: fixed broken handling of the adaption field - part 2
The value of c must be between 0 and 183 inclusive; is c is 0
I can't skip c-1 bytes!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20503 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 10:55:02 +00:00
nicodvb
4ea549d06f fixed mishandling of stream_read() (it doesn't necessarily return -1 in case of error)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20502 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 10:33:49 +00:00
nicodvb
e534b4afa9 ts_parse() move section handling after stream_read() rather than repeating it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20501 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 10:23:15 +00:00
diego
80c34f6262 Add some <application> tags.
patch by Andrew Savchenko, Bircoph list ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20500 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 10:13:39 +00:00
eugeni
219d0cfca9 Always initialize and destroy ass_library.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20499 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 03:23:23 +00:00
uau
4df2014879 Always initialize libass to fix crashes caused by use without initialization.
Library init was only done if ass_enabled was true at program startup.
However there are at least 2 ways how MPlayer can later try to access
the library even if ass_enabled is false at that point:
- per-file options can turn on ass support later
- if the embeddedfonts option is enabled and the file has fonts 
  demux_mkv will call ass_process_font


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20498 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-29 00:23:12 +00:00
kraymer
ccdc5fda08 Partially synced with en/mplayer.1 (3).
Section "OSD/SUBTITLE OPTIONS" of zh/mplayer.1 updated. And some wordings.
patch by Sheldon Jin (jinsh2 yahoo com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20497 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 18:40:25 +00:00
nicodvb
cb54570f66 removed useless check: when is_start is set the size of the payload
can be at most 184 bytes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20496 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 17:51:32 +00:00
kraymer
9b514bd5fe fix some wordings
patch by Sheldon Jin (jinsh2 yahoo com)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20495 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 17:42:37 +00:00
nicodvb
feed289c95 in ts_parse() centralized stream_read()+stream_skip(); smaller and cleaner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20494 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 17:42:25 +00:00
eugeni
efea99c2c9 Libass interface reworked:
- ass_instance_t renamed to ass_renderer_t
- ass_library_t introduced
- use of mplayer-specific global variables limited to ass_mp.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20493 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 15:07:18 +00:00
kraymer
a383ad29ea r20477: Add missing parenthesis
typo


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20492 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 14:20:15 +00:00
kraymer
54c17886a1 r20440: Add ASS subtitle rendering options to gui.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20491 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 13:07:36 +00:00
rtogni
6ee923883c Add svn versions for rc1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20490 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 12:26:17 +00:00
reimar
e5d30923d1 Cleanup/simplify nsv check_file function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 11:01:18 +00:00
nicodvb
267ed8021e readability cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20488 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 10:59:17 +00:00
nicodvb
fb8eec9d28 unconditionally assign the language code when available;
more simplifications


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20487 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 10:52:12 +00:00
reimar
8777fbb596 Better check for non-broken NSVf-header to avoid incorrect detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20486 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 10:44:45 +00:00
reimar
ef45c3167f If HAVE_FONTCONFIG is not defined, font_fontconfig might be declared both
extern and static, causing compilation to fail


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20485 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 10:21:30 +00:00
ods15
6590c8d72f indentation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20484 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 10:06:11 +00:00
nicodvb
c57f415693 reformatted ts_parse() after previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20483 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 09:52:19 +00:00
ods15
6355be18bd make vf_geq read whitespace in equation param
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20482 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 09:50:22 +00:00
nicodvb
de8cb3f35a removed unreachable code (when len=pes_parse2() returns 0)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20481 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-28 09:44:18 +00:00