1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
Commit Graph

30460 Commits

Author SHA1 Message Date
stefano
81b1285123 Implement shuffle_bytes_abcd() functions and use them for shuffling
bytes when converting between RGB32 variants.

In particular fix the argb -> rgba and abgr -> bgra conversions.

See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30501 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 23:46:00 +00:00
reimar
78ecbc1e6f Replace incorrect usage of strncpy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30500 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 22:36:47 +00:00
reimar
9d9b7a1e22 Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30499 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 22:33:35 +00:00
reimar
8613396aa0 Add support for FFmpeg's rtsp dummy URL-with-pseudo-demuxer scheme.
ffmpeg://rtsp://... will play a rtsp stream via FFmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30498 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 22:32:48 +00:00
reimar
bc9eaa5404 Use vo_x11_clearwindow instead of XClearWindow, both for consistency and also
because vo_x11_clearwindow works as intended also when the background is
set to None.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30497 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 21:12:23 +00:00
reimar
d97ee3033d Fix argument order for lseek, fixes cookie loading in Windows and in general
everywhere where SEEK_SET != 0.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30496 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 17:50:18 +00:00
komh
2acf3242cd Checks ipv6_mreq/sockaddr_in6/sockaddr_sa_len for FFmpeg
instead of defining macros unconditionally.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30495 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 13:14:09 +00:00
diego
d7a1d12f61 Add missing license headers to test programs for external libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30494 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 08:32:35 +00:00
reimar
115f7d2e63 Remove a duplicated vo_x11_sizehint, vo_x11_nofs_sizepos already calls this
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30493 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 21:27:17 +00:00
reimar
75bfddd3a2 Remove pointless initializers and also set geometry_*_changed to 0 when
-geometry did not adjust some values (instead of only ever setting them to 1
and never reset them).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30492 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 21:18:21 +00:00
reimar
c5fea2a0e3 Mention yuv=2 auto-detection in Changelog.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30491 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 20:43:20 +00:00
reimar
3ffb8d5853 Document auto-detection of -vo gl:yuv=... value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30490 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 20:39:22 +00:00
reimar
f8e4b8ec7c Add support for autodetection during preinit and use that to detect a default
value for the yuv suboption.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30489 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 20:37:48 +00:00
reimar
18011824ac Avoid using options before autodetectGlExtensions to allow it to change them properly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30488 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 20:20:48 +00:00
reimar
2feef89fce Remove vo_config_count check from uninit, it should always be safe to run.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30487 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 20:16:57 +00:00
reimar
b336a261bf Revert r30324 which broken the struct addrinfo check by making it always pass.
Instead fix the MinGW64 issue properly by including ws2tcpip.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30486 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-02 18:57:43 +00:00
reimar
22087004b8 Estimate pts of additional frame generated by tfields also if correct-pts is
not set, even if it is not very relevant currently.
Based on patch by John Lindgren [john lindgren tds net]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30485 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 22:22:32 +00:00
reimar
2aa41effad Enable query_format for vf_tfields to make sure it isn't used for formats
that definitely do not work, e.g. RBG with tfields=1 mode.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30484 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 22:14:17 +00:00
reimar
3540bd7af5 Fix -vf tfields=1 so it does not read out of bounds or leave parts of the
output frame uninitialized.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30483 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 19:14:01 +00:00
reimar
92f21ea5cc Reword tfields documentation to reflect that it works mostly with MPlayer,
not just mencoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30482 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 18:20:22 +00:00
komh
f275d3d32c Add OS/2 KAI audio driver support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30481 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 14:09:53 +00:00
diego
e44f66afa1 misc fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30480 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-01 09:24:32 +00:00
reimar
2778dca1b4 Disable FFmpeg's network protocols if --disable-network was specified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30479 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 15:11:16 +00:00
cehoyos
036a297ef1 Fix compilation for new Bink audio decoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30478 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 14:14:20 +00:00
diego
e3dfef6251 Explain the need for a MEncoder version of the logging facilities.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30477 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 10:55:36 +00:00
diego
ce9b45e528 Add missing license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30476 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 10:54:08 +00:00
diego
b1ca7b2a66 Fix layout for the mouse/joystick controls sections.
hint by  KM, k.nxco.rp gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30475 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 10:29:29 +00:00
stefano
3949328e2c Declare support for the pixel formats:
PIX_FMT_YUVJ420P
PIX_FMT_YUVJ422P
PIX_FMT_YUVJ440P
PIX_FMT_YUVJ444P

in the isSupported{In,Out} macros. 

These pixel formats are not true pixel formats but hacks specific to
JPEG in libavcodec. They are deprecated and should be removed (that is
from libavcodec first and libswscale second)...  but they must be
tested by swscale-test.

See thread:
Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support
Date: 2010-01-30 15:54:08 GMT


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30474 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 10:16:05 +00:00
reimar
a81ed9c540 Document that -af-adv force=0 currently does the same as =1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30473 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 01:42:11 +00:00
mru
0d3fe701b0 Blackfin: use SRAM only when CONFIG_SRAM is set
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30472 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-31 00:20:37 +00:00
diego
99c1bbca2a Add license header to all top-level files missing them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 23:24:23 +00:00
diego
4a05e71cc7 Add missing multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30470 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 23:20:10 +00:00
diego
5640ddf49c Add missing #include, fixes the warning:
libvo/vo_png.c:147: warning: implicit declaration of function 'imgfmt2pixfmt'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30469 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 23:01:32 +00:00
diego
59e26907b6 Add license header to all files missing it in the stream subdirectory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30468 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 22:26:47 +00:00
stefano
279a334729 Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30467 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 21:58:09 +00:00
stefano
9058c03d7a Use a consistent convention for the names of the internal wrapper
functions. Improve readability.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30466 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 21:56:33 +00:00
diego
12abc254d5 stream/rtp.h appears not to originate from dvbstream.
In any case it is completely trivial and non-copyrightable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30465 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 21:38:05 +00:00
diego
3219d1c862 Add some more definitions for FFmpeg to config.h:
HAVE_ATTRIBUTE_MAY_ALIAS
HAVE_STRUCT_IPV6_MREQ
HAVE_STRUCT_SOCKADDR_IN6


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30464 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 21:17:38 +00:00
diego
23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
diego
d6278576a1 Remove confusing comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30462 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 14:13:15 +00:00
diego
3bc60fcf8e Add missing license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30461 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:24 +00:00
diego
07f6ea12e6 cosmetics: Convert DOS linebreaks to Unix linebreaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30460 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:03 +00:00
diego
c87749eae0 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30459 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:46:26 +00:00
diego
ce3ffd4292 Add standard license header to C tools missing them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30458 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:35:03 +00:00
stefano
c84231c037 Fix randomness of the swscale-test output.
See the thread:
Subject: [FFmpeg-devel] [RFC] Make swscale-test perform only one convertion
Date: Fri, 29 Jan 2010 01:52:23 +0100


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30457 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:31:00 +00:00
diego
1e4bf6639e Add missing license header and multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30456 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:22:24 +00:00
reimar
3bbbb21ada Make the code match the documentation by making higher-quality but slower
audio filtering the default.
This mostly means lavcresample being the default instead of plain "resample".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30455 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 10:09:14 +00:00
reimar
1cf12c2492 Support more qscale types in most post-processing filters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30454 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-29 19:13:07 +00:00
jrash
d1e9785b70 sync with en/mplayer.1 r30436
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30453 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-29 13:54:20 +00:00
reimar
a91702125c Explain why we still disable the ALSA resampler even though it is probably
actually working nowadays.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30452 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-28 18:26:12 +00:00