1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 15:10:20 +00:00
Commit Graph

29542 Commits

Author SHA1 Message Date
diego
480a9e563c Revert previous two commits, the CoreVideo vo needs both OpenGL and Cocoa.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29238 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-26 08:59:18 +00:00
diego
aa169c6fe3 Replace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT.
The latter is properly set by configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29237 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 19:09:54 +00:00
diego
ebbeef12db Fix typo in CoreVideo linker flags: the Carbon, not Cocoa framework is needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29236 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 18:43:35 +00:00
diego
2ce1ec49e7 Remove unnecessary -framework OpenGL from CoreVideo linker flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29235 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 18:39:19 +00:00
diego
1668788808 whitespace cosmetics: reindent Mac OS X checks, remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29234 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 17:52:55 +00:00
diego
6f9ec12491 Split generic OS X API check into separate CoreAudio, CoreVideo, Quartz checks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29233 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 17:48:48 +00:00
diego
86075b391c typo in XFORM asm check, noticed by Emanuele Giaquinta
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29232 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 16:37:08 +00:00
diego
d0f79295a9 sane verbosity levels for menu initialization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29231 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 12:34:24 +00:00
Uoti Urpala
017fafac44 core: Handle missing timestamp errors a bit better
If there is no timestamp available for a video frame at all, use
timestamp from the previous frame (if any) instead of leaving it as
MP_NOPTS_VALUE. The main practical difference for playback is that
MP_NOPTS_VALUE caused timing to be reset, moving current video
position immediately to time of the next frame that had a timestamp
and thus likely advancing the video too fast. Now the next frame with
a timestamp will be shown at its proper position relative to the
previous timestamp.
2009-04-24 04:00:42 +03:00
Uoti Urpala
1b272e3b2d demux_lavf: Make absolute seek time 0-based instead of file start
demux_lavf interpreted absolute seeks as relative to the start of the
file, so if the file didn't start at timestamp 0 then seeking to
timestamp X went to a position MPlayer would display as start+X. Make
the seeks use the same timestamps as used in the original file. This
works better for most use cases as no part of MPlayer normally uses or
displays such "since start of file" timestamp values. There could be
some cases where the old semantics are useful, but I think they do not
justify making it the default behavior; a separate feature for that
could be added if it turns out to be needed.
2009-04-24 02:18:19 +03:00
cehoyos
ca205c9d8f Make reset_ptr() void.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29229 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 22:19:53 +00:00
siretart
5e08e6c4b5 commit remaining binary_codecs.sh changes from debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29228 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 21:01:07 +00:00
siretart
0688204a7d check for missing libstdc++
this version of the check assumes that we run on a system with apt-get
installed and configured. We should probably check that this is actually
true. Or more ideally add support for yum for fedora systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29227 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 20:59:46 +00:00
siretart
fc7d8af3b4 more cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29226 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 20:56:59 +00:00
diego
72451328bc whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29225 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 18:54:22 +00:00
reimar
d6cf125d94 Change getdladdr to always use dlopen, dlsym and then dlclose.
Performance is not really important and dlsym(0, ...) is
not defined while the more correct dlsym(RTLD_DEFAULT, ...)
is a GNUism (although POSIX does reserve RTLD_DEFAULT).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29224 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 10:18:32 +00:00
siretart
e3f02a93cc Part 3 of syncing binary_codecs.sh with Debian
This patch contains no functional changes again, only whitespace fixes
that has been misse from Part 1 have been included.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29223 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 08:46:05 +00:00
siretart
23f4613d63 Part 2 of syncing binary_codecs.sh with Debian
This patch contains the OKed parts of Diego's review from 23. Apr 2009


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29222 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 08:37:20 +00:00
diego
d6b2a50fba Pass argc and argv parameters to main() function in SDL test.
SDL renames the main function via a macro and later passes it parameters.
This fixes the SDL check on at least Mac OS X, continues to work fine on Linux.
patch by vmrsss  vmrsss gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29221 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-23 07:39:39 +00:00
siretart
329513035e Part 1 of syncing binary_codecs.sh with Debian
This patch contains no functional changes, only whitespace fixes from
Debian.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29220 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-22 20:46:33 +00:00
eugeni
78f362136d Don't automatically wrap lines when WrapStyle==2.
\n and \N still work.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29219 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 21:27:53 +00:00
gpoirier
424caeb920 Fix a signedness issue that caused a warning to be wrongfully printed at runtime.
Patch by Adrian Stutz %adrian A sttz P ch%


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29218 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 08:19:22 +00:00
michael
7a07a0fcb0 Planar 16bit 420 422 444 YUV support (output is only supported in some
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29217 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 01:08:03 +00:00
michael
b724d63b87 Merge gray->gray converters into planarCopy(), this should also make planarCopy()
useable for other 16bit formats once we support them.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29216 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:08:06 +00:00
michael
56702531e2 Add macro to check for 16bit per sample.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29215 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:03:00 +00:00
michael
9cdb6b4821 Make sure src/dst are NULL when they arent used, some code uses this to
simpify checks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29214 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-21 00:01:59 +00:00
michael
1423dd2165 Use generic BE check instead of checking for gray16LE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29213 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:05:32 +00:00
michael
36fd4baa05 add isBE()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29212 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 21:04:55 +00:00
diego
641a93a0e1 Unify error message output and update error messages.
patch by Adrian Stutz, adrian sttz ch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29211 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 18:20:37 +00:00
diego
d93eb28e9c small typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29210 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 15:35:34 +00:00
diego
b8ef364ae0 Remove reference to outdated documentation file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29209 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 15:24:47 +00:00
diego
30c70cab76 Move non-conditional SRCS lists below the conditional parts. This allows
simplifying the addition of the conditional parts to the SRCS lists.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29208 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 14:02:40 +00:00
diego
7e7abb386b whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29207 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 13:52:14 +00:00
diego
40ea07ea42 Use temporary variables to add objects that depend on more than one
condition to conditionally compiled parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29206 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 13:51:47 +00:00
diego
7c0e777db0 Add algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.
patch by Alexander Strange, astrange ithinksw com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29205 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 12:07:08 +00:00
diego
a12ecf35b2 Only add existing files to the FFMPEGFILES variable.
based on a patch by Carl Fürstenberg, azatoth gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29204 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 03:39:44 +00:00
diego
2ff2081e06 Use ADDSUFFIXES function to simplify version.h dependency declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29203 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:19:39 +00:00
diego
1ec5ec1fa1 Introduce ADDSUFFIXES function and use it to simplify the
ADD_ALL_DIRS and ADD_ALL_EXESUFS functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29202 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:18:59 +00:00
diego
8f0639d4cc cosmetics: Move ADD_ALL_* functions to a more sensible place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29201 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:16:53 +00:00
diego
e28b5cc631 Add HAVE_LDBRX to config.h for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29200 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:45 +00:00
diego
7948a807fb Add check for XFORM ASM, needed by FFmpeg/PPC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29199 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 00:10:09 +00:00
diego
fc4f741709 cosmetics: reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29198 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 22:27:02 +00:00
diego
2bed79b908 whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29197 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:54:48 +00:00
diego
a16fc43c34 cosmetics: Rename PARTS variable to FFMPEGPARTS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29196 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:54:16 +00:00
diego
bf2a47d871 Introduce ADD_ALL_DIRS function to factorize clean and distclean target commands
to remove certain patterns in all subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29195 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:51:06 +00:00
diego
dc161a651e Convert another forgotten ADD_ALL_EXESUFS call.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29194 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:22:27 +00:00
diego
cc07989738 Extend ADD_ALL_EXESUFS to work with a list of files instead of a single one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29193 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 15:16:04 +00:00
diego
3f123a9664 Remove duplicate entry from DIRS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29192 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 14:54:44 +00:00
diego
d5f4f0856c Add files in all library subdirectories to FFMPEGFILES variable, not
just the ones below libavcodec.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29191 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-19 14:53:41 +00:00
Uoti Urpala
7180728cba stheader.h: Allow inclusion before demuxer.h
stheader.h used 'demuxer_t *' without including demuxer.h, causing
compilation to fail if demuxer.h had not been included first. Use
'struct demuxer *' instead so the type does not need to be defined.
2009-04-19 17:37:03 +03:00