1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00
Commit Graph

19963 Commits

Author SHA1 Message Date
eugeni
a88de95383 Free memory in ass_synth_done().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19968 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:50:31 +00:00
nicodvb
bd40e0ea1d interpolate real fps of dvr-ms files using the extended stream properties.
Patch by John Donaghy - johnfdonaghy gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19967 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:19:48 +00:00
reimar
8e6272e832 Make fill_buffer function check for stream eof, fixes hang at eof (bug #580)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19966 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 14:26:31 +00:00
lucabe
abfb2f049a Improve swscale-example to test conversions between all the possible
pixel formats


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19965 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 09:55:18 +00:00
ods15
b45efb0eeb simplifications, any error from libnut is fatal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19964 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 21:05:28 +00:00
ods15
dcc0b8e177 sync to new libnut
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 18:48:18 +00:00
eugeni
f21b92e1a5 Reduce size of non-blurred bitmaps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19962 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 18:35:19 +00:00
eugeni
50d2386180 Cosmetics. Change indentation of block of code to make it consistent with
the rest of the file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19961 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 17:54:24 +00:00
reimar
32254e3cb6 Missing part of previous patch to demux_real.c (revision 19958)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19960 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 17:00:09 +00:00
faust3
4e2f5bc1a2 move video memory info printf before the WIN32 workaround
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19959 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 16:46:08 +00:00
reimar
b6d6af240c int->unsigned to avoid crash to sign extension, partially fixes bug #580
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19958 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 16:43:57 +00:00
rik
830063b190 Cosmetics and comments.
Patch by Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"This is the whitespace patch for vf_zrmjpeg.c with doxygen comments that I
promised a while ago."

Some additional whitespace fixes by me, there are no functional changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19957 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 16:28:57 +00:00
rik
4bb03ad126 Patch by Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"This patch is the MMX optimizations for the zrmjpeg filter, which is used by
the zr2 video output driver."

With some small changes by me:
- column width=80
- kept jpeg_enc_* functions static because they confuse the current vo_zr.c
- did not include jpeg_enc.h because jpeg_enc functions are still static


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19956 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 15:31:21 +00:00
diego
1a3cfa9283 Update with more mime types.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19955 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 15:24:24 +00:00
reimar
4137480167 Avoid buffer overflow: memory has do be allocated accordingly when overwriting a string!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19954 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 14:36:25 +00:00
reimar
c466bd5d89 Do not assign constant string to audio_driver_list, it is supposed
to contain malloc'd strings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19953 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 14:34:32 +00:00
diego
0a612539ea Fix the sound mute switch in the GUI menu by moving the corresponding
piece of GUI code after audio initialization.
patch by Stanislav Maslovski, stanislav.maslovski gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19952 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 13:06:55 +00:00
reimar
a32e00516f Fix audio stream switching with demux_mkv:
return value of demuxer_switch_audio is new stream number for
-aid, the index in a_streams array is in demuxer->audio->id instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19951 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 11:07:58 +00:00
diego
69f718e99a verbosity--;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19950 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 10:42:03 +00:00
nicodvb
cf23d6d116 when changing chapter, in the osd print the channel number in a more natural form:
1-based (rather than 0-based)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19949 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 10:27:32 +00:00
reimar
067c55bb46 Add forgotten emms which caused weird bugs like nan pts values.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19948 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 09:18:20 +00:00
eugeni
64f3fac3a0 Better fix_outline implementation. No more "fix_outline failed" messages,
should work even with the craziest glyphs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19947 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 00:15:00 +00:00
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