Commit Graph

20101 Commits

Author SHA1 Message Date
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
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