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

20041 Commits

Author SHA1 Message Date
reimar
6c8ab3f263 Fix width -> orig_width typo causing subtitles to be too far to the right
for movies with vertical black bars (aspect < monitoraspect).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19946 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:47:08 +00:00
reimar
953d001217 Whitespace-only cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19945 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:26:12 +00:00
reimar
40dad6e266 Aggregate multiple small EOSD textures into one large since hundreds of
texture creates are very slow.
Might cause artefacts with scaled OSD since large textures are not cleared each
time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19944 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:23:17 +00:00
reimar
7da0bb114d Cosmetics: move curtex++ out of for () into code body, needed for coming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19943 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:19:51 +00:00
reimar
1014da2101 use eosdDispList != 0 to check if eosd should be drawn instead of eosdtexCnt > 0
in preparation of upcoming patch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:16:36 +00:00
reimar
4e6749d0ef Make genEOSD behaviour with NULL data more explicit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19941 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 20:13:21 +00:00
reimar
2dd3f3f55a Modify clearEOSD to make experimenting easier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19940 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 19:58:43 +00:00
reimar
0c8fc56f34 remove useless zero-initialization code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19939 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 19:15:40 +00:00
eugeni
0ba8cc2972 Move calculation of text parameters (number of lines, height, etc.) from
wrap_lines_smart() into a separate function. Call it for every event, even
those that do not require line wrapping.

This fixes randomly wrong positioning of 'Banner' events.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19938 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 18:56:09 +00:00
eugeni
38ea1d82d8 Move variable declaration to a more deeply nested block. It is not used outside of it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19937 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 18:47:29 +00:00
corey
aa820534b6 Add missing conversion from IMGFMT_I420 to PIX_FMT_YUV420P.
This fixes recent bug with x264 and '-vf scale'.
Patch by Luca Abeni (lucabe72 at email dot it); applied at his request.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19936 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 18:18:56 +00:00
jheryan
951ed4f966 synced to 14.9.2006
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19935 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 13:06:09 +00:00
kraymer
cd4d3f63bb r19927: Fix typos noticed by Paul TT.
r19895: When the hardware sample format is AC3, do not force using an
        hardcoded device name.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19934 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 13:00:36 +00:00
gpoirier
0f8b9a5e72 remove some unbreakable lines roff errors.
The remaining ones are a 1:1 copy of the English version, but somehow roff doesn't complain about them in that version
Of well...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 12:13:29 +00:00
ods15
978ec64191 better rounding for audio_delay_fix in muxer_avi.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19932 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 10:27:17 +00:00
ptt
a2d7d42a27 sync up to (yet) CVS rev. 1.1260
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19931 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 10:24:10 +00:00
reimar
b4056ef407 Try .mxf with libavformat first, works around a too greedy mpeg-demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19930 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:48:41 +00:00
reimar
9c4bdf068e Fix compilation if HAVE_MMX is defined but NAMED_ASM_ARGS isn't
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19929 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:33:30 +00:00
gpoirier
acb3f23867 synced with r19927
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19928 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:27:31 +00:00
diego
b03677af4c Fix typos noticed by Paul TT.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19927 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 08:53:04 +00:00
diego
85319c19b4 cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19926 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 08:44:02 +00:00
eugeni
4a09756828 Cosmetics: fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19925 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-21 22:37:42 +00:00
eugeni
a7e1afc5b3 Fix FT_Stroker use in libass. The previous variant ended up with 0-width
outline in some cases.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19924 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-21 22:36:47 +00:00
eugeni
997c42f17f In r19831, font size multiplier was mistakenly applied to border width.
Fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19923 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-21 19:31:28 +00:00
lucabe
c49bbd2506 Add conversion from IMGFMT_Y8 to PIX_FMT_GRAY8
Patch by Gianluigi Tiesi (sherpya AT netfarm DOT it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-21 14:26:08 +00:00
kraymer
27d41c9145 change help_mp-de.h charset to UTF-8
set svn mime-type property for this file to UTF-8


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19921 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-21 05:51:26 +00:00
nicodvb
b6a700727e made file-static new_dvdnav_stream() and dvdnav_stream_read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19920 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:09:32 +00:00
nicodvb
2d85e0c538 removed definitions of no more used or file-static functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19919 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:08:38 +00:00
nicodvb
b578d8ccbf introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);
it's used to activate the button corresponding to the last mouse position.
This is a workaround against possibly buggy implementation of 
upper_lower/upper_button_select() and friends; will be removed when
possible


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 23:50:21 +00:00
nicodvb
d7f2d69dd0 removed old dvdnav_event definitions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19917 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 22:59:05 +00:00
nicodvb
9910eae2ba show in the osd the number of the button selected by the mouse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19916 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 22:44:19 +00:00
nicodvb
eadc766b62 removed dead code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19915 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 22:01:27 +00:00
jonas
776787600d Іnitial button value is -1. Only (button>0) is a correct button selection.
Initialized "dvdnav_status_t status" explicitly for clarity.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19914 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 21:42:43 +00:00
nicodvb
d397383c4d removed mention of dvdnav_event
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19913 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 21:18:54 +00:00
eugeni
ef3a4fa04e Sort events by ReadOrder (if both layer and start time are equal).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19912 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 18:23:36 +00:00
eugeni
6cc5d2fc08 Set ReadOrder values for external subtitles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19911 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 18:22:44 +00:00
eugeni
0c1c5e7ea2 Calculate text bounding box in such way that it does not depend on the height
of individual glyphs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19910 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 17:40:31 +00:00
diego
15ea14e08a Remove just the targets, not the original codecs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19909 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 14:17:59 +00:00
eugeni
9cfbc0fd80 Cosmetics: fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19908 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 13:07:45 +00:00
eugeni
61d45a940d Don't call FcDirScan/FcDirSave with FontConfig >= 2.4.
Font cache is updated automatically in FcConfigAppFontAddDir.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19907 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 13:06:44 +00:00
gpoirier
a9a72d676a sync with r19881
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19906 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 07:17:10 +00:00
rathann
00b387f798 Allow shared libavcodec, but explain the implications.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19905 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 00:08:18 +00:00
rathann
65fe2f6fcc Add (if applicable) footnote to binary codecs in the feature list.
Mention overriding default vo/ao.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19904 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 23:42:50 +00:00
vayne
6275f005bf fix for disabling screensaver when in fullscreen mode while using the sub window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19903 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 23:05:57 +00:00
nicodvb
bc996f4dee demuxer->movi_end is updated after ds_fill_buffer(),
this in demux_mpg_probe() end_seq_start must be assigned
after ds_fill_buffer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19902 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 22:32:51 +00:00
nicodvb
9490ae823a permit seeking to 0: there's no reason to prevent it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 22:02:43 +00:00
nicodvb
126e5baa1e in the previous commit I forgot to set s->end_pos=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19900 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:26:26 +00:00
nicodvb
a26e041c79 at titleset change call update_title_len() to reset stream->end_pos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19899 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:22:37 +00:00
nicodvb
aa278680ac don't seek until dvdnav_get_position() returns something meaningful
(len > 0), or dvdnav may crash or complain.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19898 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:12:22 +00:00
eugeni
ac4703fc35 Fix a stupid bug in list concatenation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19897 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 18:54:38 +00:00