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

2202 Commits

Author SHA1 Message Date
reimar
e5e820981f Do not abort on X11 errors, most are not at all fatal.
Makes -vo x11 work over non-trusted ssh X11 forwarding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 11:57:06 +00:00
reimar
380a752a06 Use av_d2q to produce the fps fraction, this usually produces more sane fractions
and works right also for extreme values that otherwise would over- or underflow.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21823 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:41:41 +00:00
reimar
275f89e3cd Fix printf types: AVRational members are ints, not 64 bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21822 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:33:03 +00:00
ben
c796e21e3c don't fatal if saving vesa state failed (this always fails on qemu, with this patch vesa now works under qemu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21818 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:07:42 +00:00
diego
084a5d01b5 Amiga OS 4 support
patch by Andrea Palmatè, andrea amigasoft net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21750 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 23:27:01 +00:00
rik
cf122d037c compilation fixes: define always_inline and don't use uint64_t_C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21740 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-23 13:18:43 +00:00
reimar
466a129496 Remove duplicate vo_sub extern definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21715 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-21 16:43:21 +00:00
reimar
29a164309f Fix compilation under MinGW with X11 enabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-17 12:33:09 +00:00
reimar
c825b672f5 Get rid of completely useless includes that in addition hinder compilation
on MinGW


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21639 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-16 21:24:12 +00:00
ods15
6b64c8274e gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 08:20:05 +00:00
reimar
2025452bd0 10l, missing () in check for 32bit endian-conversion hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 18:14:57 +00:00
reimar
b333ae1922 Support for different endianness on client and server with -vo x11
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 19:13:48 +00:00
reimar
ba288eb9b0 Align image data pointer, this is also in preparation of an upcoming patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21601 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 19:03:57 +00:00
reimar
fa9a9cb0e3 Use XCreateImage instead of XGetImage, this is not only more correct and
similar to the SHM case, it also eliminates the massive startup delay over
ssh (at least when you have a tiny upstream).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-12 18:43:10 +00:00
reimar
d6c8342dc4 Mark utf8_get_char parameter as const and fix a compiler warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:37:17 +00:00
reimar
94c6716567 Another simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:32:13 +00:00
reimar
7147ed7ab6 Reuse utf8_get_char in subtitle rendering code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-11 22:29:08 +00:00
nplourde
62ddcb8345 vo_macosx, fix crash when closing window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 01:38:54 +00:00
nplourde
97c7df03b7 vo_macosx.m disable window animation when going to fullscreen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 23:57:28 +00:00
reimar
18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00
eugeni
e15d11c89e Speed up ASS subtitles display by detecting changes between two consecutive
rendering results.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21522 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 18:44:26 +00:00
reimar
f5f7bb1ccb Properly free fontconfig patterns
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21517 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 11:28:49 +00:00
reimar
9902ca7c44 100l typo in 21380 disabled OSD with at least xvmc.
Patch by Andrew Cohen [cohen bu edu]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21459 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 09:59:55 +00:00
diego
c00059b047 Remove suffix rules that are just copies of make builtin rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21436 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 12:08:25 +00:00
diego
a321bc9a2b Fix a declarations vs statements warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21412 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 15:04:46 +00:00
diego
3aa3fbbf6c Fix declarations vs statements warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21411 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 14:58:11 +00:00
diego
ed5e0e9eec Add libav include paths to CFLAGS without indirection.
This Makefile was skipped in the initial commit.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21409 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 11:27:21 +00:00
diego
ccb6adc9ef Correct include path for bswap.h, patch by Carl Eugen Hoyos, cehoyos ag.or.at.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21408 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-01 11:24:19 +00:00
diego
b7b22bd874 Remove some superfluous include CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21390 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:14:03 +00:00
diego
cac6c0eea2 Remove bswap.h, use libavutil/bswap.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
reimar
f9b2e78d79 Remove some of the worst "headers include headers which include
completely unrelated headers" mess.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21386 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 14:08:24 +00:00
reimar
4373e71a95 Avoid compiling code using %ah etc. on AMD64, since that will not work
(problems only occur with -O0 or -Os, see also
http://bugs.gentoo.org/show_bug.cgi?id=156375)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21385 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 13:49:48 +00:00
reimar
b2dce56aad EMISSINGBRAIN: No, OSD objects of size 0 sure are _not_ visible.
Fixes massive slowdown after adding dvdnav highlight support, at least
with -vo xvmc, potentially others too.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21380 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 11:57:16 +00:00
diego
f415c639b9 Move common code to mpcommon.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21323 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 13:32:24 +00:00
diego
e6b3cc9b3d Move common code for generating multiple libraries to mpcommon.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21303 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 01:40:39 +00:00
diego
21b6b9af3c FFmpeg-style conditional dependency declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21301 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 01:17:22 +00:00
diego
dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
diego
917d57bc25 Don't compile libvo.a unless MPlayer is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21245 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 18:56:00 +00:00
diego
eee40df587 simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21238 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:58:43 +00:00
ben
badde75862 missing include for uint16_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21236 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:58:14 +00:00
ben
1e30c2e5ae keep nav highlight event in dvdnav priv structure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:44:22 +00:00
diego
27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
reimar
4f6a65ef4e Avoid void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21217 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 13:34:55 +00:00
ben
42eecb4f1b better nav highlight handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21216 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 13:03:51 +00:00
ben
c913e7dba1 support for dvdnav menu buttons overlay as simple alpha boxes (rework from Otvos Attila's series of patches)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21209 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 11:20:02 +00:00
uau
544233bded Make compilation depending on USE_OSD unconditional.
USE_OSD was hardcoded to true in configure, manually turning it off
would break compilation, and most OSD-related code wasn't affected by it
anyway so it did nothing useful.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-22 19:21:16 +00:00
diego
6178e38e46 Split libvo.a into two libs so that libosd.a can be used by MEncoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21123 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 11:49:47 +00:00
diego
7a4c86b2ca Remove unused -D from CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21121 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 11:29:26 +00:00
diego
d52d16f96e Remove superfluous empty variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21120 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-21 11:25:44 +00:00
diego
cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00