1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 07:46:55 +00:00
Commit Graph

26096 Commits

Author SHA1 Message Date
diego
55001d69f2 Refactor AltiVec macros as done for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26027 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 23:32:17 +00:00
diego
c7577cd703 This header should not have multiple inclusion guards, it is meant
to be included multiple times.
patch by Alexander Stege  mplayer a legale-software d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26026 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 21:07:33 +00:00
diego
2afea0a79b cosmetics: indent, remove trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26025 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:39:10 +00:00
diego
7976b35705 Merge the two conditional definitions of get_current_dir_name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26024 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 19:37:59 +00:00
gpoirier
09b95c30f2 sync w/r26017
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26023 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 16:33:31 +00:00
diego
8d4b171c8c basic support for OS/2 in configure
patch by KO Myung-Hun, komh a chollian d net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26022 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 15:02:41 +00:00
diego
1b2d02e8e3 Set SYS_BEOS for libdvdcss compilation on BeOS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26021 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-18 14:57:54 +00:00
reimar
400b6f1e43 Allow specifying a size for -vf rgbtest
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26020 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 19:49:46 +00:00
reimar
9fef2ed89a Document af-*, copied from vf-*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26019 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 15:18:52 +00:00
reimar
6af3af64c2 Make -af-pre, -af-add, -af-del and -af-clr available.
For this -af-adv must be moved below af* to match first.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26018 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 15:14:54 +00:00
compn
a0155c9776 removed wrong example
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26017 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 13:57:34 +00:00
Gabrov
c301391e5b synced with r26015
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26016 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 11:31:28 +00:00
reimar
68eac9db14 Document that framedrop needs -no-correct-pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26015 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 10:14:32 +00:00
compn
1f220762bc -dumpstream will not dump chapters anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26014 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 04:53:15 +00:00
mru
1a8c91dfc2 remove duplicate AV_STRINGIFY() definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26013 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 03:54:07 +00:00
diego
2fb3a82350 Do not check for __APPLE_ALTIVEC__, just check for __APPLE_CC__.
This should work even when -faltivec is not specified.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26012 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 17:44:49 +00:00
diego
9b3be6a2ca Apple gcc defines __APPLE_ALTIVEC__ with -faltivec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26011 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:34:19 +00:00
diego
cee7af12b0 FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26010 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 15:17:59 +00:00
reimar
539ab7489e Avoid reinit of vo with the exactly same parameters over and over.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26009 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 14:31:34 +00:00
nicodvb
c19d8bdef2 when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26008 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 11:51:41 +00:00
nicodvb
fc5da18fff cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26007 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 11:02:04 +00:00
nicodvb
e9711acb5d in ts_detect_streams() try to identify the program found based on vpid and apid if the previous attempts failed for lack of infos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26006 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 10:58:23 +00:00
uau
1a3fb6c21e libvo: change asm syntax to use ASMALIGN and " # nop"
Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new
version is what other code in MPlayer uses, and works with old
assembler versions like that used on OS X.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:52:34 +00:00
reimar
24a3faf378 Support icyx://.
Patch by Sander Plas [sander oele net].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26004 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 21:21:10 +00:00
reimar
4114557255 Always display Icy-Metadata if available, whether we recognize an ICY-Server
or not. I can not think of a reason why this should hurt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26003 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:32:45 +00:00
reimar
367419a18b Move printing of Icy-Metadata into an extra function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26002 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:31:10 +00:00
reimar
48614bcc10 Remove useless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26001 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:23:59 +00:00
reimar
de2ae95def Detect IceCast also by Icy-MetaInt header part in http_streaming_start(),
as in fixup_open()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26000 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 20:20:16 +00:00
benoit
5839f06341 More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25999 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-15 07:50:27 +00:00
reimar
85f638a50e Try to make fps float -> AVRational conversion work better.
Might make sense to change this once we at least use double for
fps everywhere.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25998 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 17:38:52 +00:00
reimar
c1a683ad8c Change force_fps and force_ofps to double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25997 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:50:34 +00:00
reimar
1b2d30c221 Change mf_fps to double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25996 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:44:52 +00:00
cehoyos
e78f2ea6dc Revert accidentially committed line of r25994.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:39:49 +00:00
diego
835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
compn
440d7d2575 add ffpcx decoder, works on my samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25993 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 21:36:27 +00:00
cehoyos
2fdfd41cb5 Fix typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25992 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 19:21:39 +00:00
diego
b8da7d2c5a typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25991 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 09:07:41 +00:00
diego
a20fb9aee1 Translate stray Italian term.
patch by Alfredo Pironti, alfredo.pironti a gmail d com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25990 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 00:55:37 +00:00
iive
153b4a23f9 Implement test for system byteswap.h header file.
The result of this check is required by libavutil library.
If it is not defined the library would try to implement its own
byte swapping routines in bswap.h . As the routines are with same names, 
if included, the system definition would replace the function names with
the macros. The result can not be compiled and looks like this:

# 42 "../libavutil/bswap.h"
-static av_always_inline uint16_t bswap_16(uint16_t x)
+static __attribute__((always_inline)) inline uint16_t (__extension__ ({ register unsigned short int __v, __x = (uint16_t x); if (__builtin_constant_p (__x)) __v = ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }))


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25989 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 21:10:13 +00:00
reimar
df6f7b80c6 Change to always use MP_NOPTS_VALUE (instead of sometimes 0) for unknown pts.
I did not see anything obvious that would break, it if it does it should be
fixed properly once and for all.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25988 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-12 10:48:42 +00:00
nicodvb
f785eba8a1 -chapter is now handled uniformly calling demuxer_seek_chapter() instead
of letting individual demuxers and stream readers do their nasty job


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25987 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 22:03:34 +00:00
gpoirier
d31f87b06c sync w/ r25984
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25986 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 21:24:21 +00:00
reimar
7a6d302f42 Try harder to find OpenGL functions on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25985 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:37:47 +00:00
reimar
19578c6960 Slightly document alpha for OSD color
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25984 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:01:34 +00:00
reimar
2d79c4c109 Support alpha for vo gl osdcolor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25983 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 19:00:01 +00:00
reimar
875d963649 Remove an extern for a variable that no longer exists
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:23:21 +00:00
reimar
8c1a56e57a Remove left-over extern definitions that should not be there
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25981 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 15:21:25 +00:00
diego
3cf3483e39 #include just libavutil/common.h, not all of libavutil/intreadwrite.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25980 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 09:05:31 +00:00
gpoirier
5adcf0ae43 sync w/r25973
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25979 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 23:48:44 +00:00
reimar
b8abe420bc Make some variables static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25978 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-10 19:58:05 +00:00