1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 19:22:48 +00:00
Commit Graph

30059 Commits

Author SHA1 Message Date
cehoyos
468d5f2e0a Do not use correct-pts by default for demuxer lavf, it breaks all PAFF files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30100 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-22 20:56:59 +00:00
ramiro
34fb57ce56 Remove parameters no longer used in h[yc]scale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30099 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-21 01:59:34 +00:00
ramiro
767326f484 Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30098 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-21 01:54:59 +00:00
ramiro
0ebdb661a6 Rename function pointers used to convert from the input pixel format to the
intermediate YV12 to a more descriptive name.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30097 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-21 01:41:29 +00:00
ramiro
342009a438 Check if chroma horizontal scaler is needed in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30096 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-21 01:34:45 +00:00
ramiro
779c4a0df5 Remove unused fields from SwsContext.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30095 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-21 01:30:55 +00:00
diego
61f34a8101 Do not auto-generate the C code to handle PCI vendor and device names.
This part of the code does not change so there is no point in generating it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30094 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 21:11:39 +00:00
gpoirier
7810431c02 sync w/r29731
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30093 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 20:57:44 +00:00
diego
d9ea2f0d0e Remove unused debugging output about total number of printed lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30092 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:56:18 +00:00
diego
db1d7210db Employ slightly better variable names for output files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30091 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:36:30 +00:00
diego
3a4525bfc2 Eliminate completely pointless print_includes function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30090 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:32:25 +00:00
diego
4e18fed064 Use "mingw32" instead of "mingw32msvc" as system name for MinGW with --target.
The former is the official name used by the MinGW project.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30089 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:12:20 +00:00
diego
48ed8799ac Do not autogenerate vidix/pci_names.h.
Its contents is always the same, so there is no point in generating it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30088 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:49:07 +00:00
ramiro
032a777827 Indentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30087 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:42:35 +00:00
ramiro
b8d5738c09 Indent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30086 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:15:01 +00:00
ramiro
c082aa34ad Set fast_bilinear functions in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30085 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:09:46 +00:00
diego
b252972ab4 Remove pointless return statements from functions that return nothing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30084 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:09:20 +00:00
diego
7046f2cd16 Move code to write multiple inclusion guards to generated files into functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30083 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:01:47 +00:00
ramiro
2d4a819ef5 Set horizontal scaler's range conversion in context in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30082 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 16:32:58 +00:00
ramiro
08f9e35211 Set horizontal scaler's src offsets in context in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30081 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 16:21:25 +00:00
diego
884849df53 cosmetics: Use more consistent formatting style for generated files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30080 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 15:16:34 +00:00
diego
cccb6f6d7e cosmetics: Use a consistent formattting style; tabs to spaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30079 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 14:43:50 +00:00
reimar
acd1630d1b Change %f to %e in generated fragment programs to avoid losing precision unnecessarily.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30078 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 14:32:34 +00:00
diego
c3da36a9ac Run vidix/pci_db2c.awk directly instead of passing it to awk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30077 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 14:14:56 +00:00
cehoyos
af52185c93 VP6F has to be flipped for binary decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30076 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 13:25:08 +00:00
reimar
81783bceed Slightly improve vo_gl suboption documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30075 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 21:08:14 +00:00
reimar
763402d423 Define GL_GENERATE_MIPMAP ourselves if necessary.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30074 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 21:07:42 +00:00
reimar
8b6dca72c6 Fix compilation with internal ASS when no ass header is installed system-wide.
Patch by Erik Auerswald [auerswal unix-ag.uni-kl.de]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30073 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 20:59:58 +00:00
reimar
300d40bed3 Add support for auto-generating mipmaps in vo_gl, should ease
implementing anything that needs blur filters with large support.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30072 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 20:53:34 +00:00
reimar
5dc258f4e8 Make -vo gl:customprog also work with RGB input (obviously those need to be
special RGB fragment programs).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30071 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 20:48:23 +00:00
reimar
89a2a84868 Fix a broken indentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30070 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 20:45:34 +00:00
reimar
213707b9e4 Enable running fragment programs with YUV_CONVERSION_NONE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30069 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 20:44:55 +00:00
reimar
bfd01bdc17 Make ass_mp.h use the system-libass headers when the internal one is disabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30068 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 15:41:47 +00:00
reimar
4ab63df7af Never include ass.h and ass_types.h directly, use ass_mp.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30067 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 15:32:17 +00:00
reimar
1f4109d85e Experimental support for external libass.
So far probably only works with the libass from Ubuntu 9.10


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30066 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 15:18:22 +00:00
reimar
f97fd3eff0 Rename GL_* defines to CONFIG_GL_*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30065 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 13:49:44 +00:00
reimar
0aac4fa9dc Add x11_common as dependency for OpenGL with X11 backend.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30064 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 13:46:34 +00:00
reimar
140de2a9e2 Make the check for X11 and WIN32 backends for OpenGL separate.
This fixes compilation on Windows with X11 but no GLX available.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30063 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-19 10:52:32 +00:00
reimar
cb7a098c81 Add a missing const, fixes a compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30062 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 20:27:35 +00:00
reimar
b7fa147ee8 Allow pulseaudio to restore the previous volume on init instead of forcing to
full volume.
The old behaviour can be restored by using -volume 100.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30061 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 20:26:28 +00:00
reimar
e858d98f4f Get rid of global volume variable, it is only used for temporary values.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30060 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 20:22:39 +00:00
reimar
2ed18d7a2a Use on-stack subtitle struct for temporary storage for passing subtitles on
for rendering by libass.
This avoids mangling the static subtitle struct that is supposed to contain
the subtitles that will actually be displayed and it also minimally reduces
memory usage by freeing the subtitle lines again as early as possible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30059 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 19:29:33 +00:00
ptt
332bb06e4f synced to r30044
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30058 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 15:57:52 +00:00
ptt
ce45b671b5 divided a line in two, was too long
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30057 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 15:57:22 +00:00
ptt
5f8ae5d0db synced with r30043
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30056 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 15:55:45 +00:00
jrash
8fcbe5835d Synced with help_mp-en.h r30044
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30055 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 11:31:58 +00:00
jrash
c911be4073 sync with en/mplayer.1 r30053
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30054 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-18 11:15:09 +00:00
cehoyos
54fc3a69e7 Support R210 uncompressed 10 bit RGB codec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30053 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 20:15:34 +00:00
reimar
baaee832fd Do not modify priv->idx_pos when regenerating the index, use a local
variable instead.
should fix seeking after starting playback with -force-idx broken by
r29914.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30052 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 18:31:59 +00:00
cehoyos
e3b42e3e96 Cosmetics: Reindent after r30050.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30051 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-17 13:27:15 +00:00