Commit Graph

17696 Commits

Author SHA1 Message Date
diego ac7b90ee0c Sync with latest FFmpeg build system changes:
libpostproc is no longer built from within the libavcodec directory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 23:29:51 +00:00
gpoirier 10f1990a73 No sane person should encode last pass without at least 'mbd=2' and 'trell' (or should _really_ have _really good_ reasons)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 22:36:21 +00:00
gpoirier 86748ab207 Gives some examples of in which form MPEG* videos can come
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17594 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 22:13:12 +00:00
gpoirier e09a7d9e5d Remove all the sections that are now merged in the XML doc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17593 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 22:11:11 +00:00
nicodvb 574d5451fe init frame duration to 1/fps when we have a frame but not the enclosing sequence header: it's workaround against lavf's demuxer that doesn't sync to seq_hdr unlike mplayer's native demuxers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17592 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 21:45:42 +00:00
nicodvb f888ebd181 muxer_mpeg MUST be used with audio_preload=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17591 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 21:29:03 +00:00
diego 40a51feefa Mention recent big-endian/AltiVec fixes in postproc/.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17590 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 14:19:37 +00:00
diego 844c1f8f8a Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
once when the scaler is initialized, instead of building them and freeing
them over and over. This gives massive performance improvements.
patch by Alan Curry, pacman*at*TheWorld*dot*com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17589 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 14:16:10 +00:00
diego b5e3a24fbb cosmetics: indentation fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17588 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 13:42:54 +00:00
diego e190262740 Fix big-endian color permutation problems.
patch by Alan Curry, pacman_at_TheWorld_dot_com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17587 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 13:35:46 +00:00
ods15 8d1e356de1 Put index_ptr within index to avoid it popping out of nowhere.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17586 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 09:56:49 +00:00
ods15 3271803e22 Add syncpoint_checksum after frame header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17585 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 09:51:08 +00:00
nicodvb ff5e9324bb tff wasn't correctly unset in soft_telecine()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17584 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 22:28:32 +00:00
diego acad10ebf4 Attila and I are root@mphq.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17583 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:58:50 +00:00
reimar 67569814d9 Make sure maxlen is respected, instead of just failing the assert later on.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:21:52 +00:00
reimar 4d7b6d85b6 add mpc extension so that playback starts faster.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17581 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:18:24 +00:00
rathann 66ed82c5bb Clarify feature removal policy: it must be approved on the mailing list.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17580 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:12:17 +00:00
rathann 0da9c28c50 Clarify policy on feature removal.
(recommitted patch by Diego)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17579 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:10:19 +00:00
ods15 d6d942d8dd change checksum to crc32
add max_pts_distance to avoid overly big pts difference


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17578 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 10:42:40 +00:00
cladisch 732a349ec2 ALSA changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17577 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 10:28:20 +00:00
cladisch ddfe8e253e Small fixes: make all global variables static, remove some unused
variables, and remove the unused dir parameter from set_xxx_near()
calls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17576 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:28:08 +00:00
cladisch 18ca43b048 Remove a call to snd_pcm_prepare() because snd_pcm_hw_params() does it
automatically, and remove a call to snd_pcm_drop() because
snd_pcm_close() does it automatically.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17575 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:26:11 +00:00
cladisch a25341464c Simplify get_delay(): we don't need to get the complete PCM status but
can call snd_pcm_delay() directly.

To avoid the audio device appearing to be running too fast after an
underrun, ignore any samples that were lost in an underrun.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17574 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:24:48 +00:00
cladisch 689c7b37a2 Fix get_space(): we don't need to differentiate between the various PCM
device states, and there is no need to avoid returning a positive value
less than 1024.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17573 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:21:17 +00:00
cladisch 508d589e21 This adds support for more sample formats (U32, float BE, mu/A-law).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17572 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:20:08 +00:00
cladisch 7bb5f4e138 This replaces the hardcoded numbers for the sample format widths with a
call to snd_pcm_format_physical_width().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17571 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 09:18:27 +00:00
corey 3f6e7ce5f5 Reverse commit of unfinished patch for passing audio_delay to the demuxers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 19:39:51 +00:00
faust3 c9cf174b9c support for Geforce FX5500 based on patch by Pascal Yu <yu_pascal at hotmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17569 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 18:17:04 +00:00
cladisch f267b16ca9 I took over ao_alsa maintainership.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17568 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 16:36:53 +00:00
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
iive 1f34ddefd2 include config.h as img_format.h needs endian definitions, noticed by Alan Curry <pacman at theworld com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17566 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 10:23:51 +00:00
aurel f7af77f18a fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17565 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 00:40:35 +00:00
diego f938468899 Correct RGB vs. BGR confusion, the macros vec_mstrgb24 and vec_mstbgr24 each
do the opposite of what they say.
The vec_mstrgb24 and vec_mstbgr24 macros should be opposites and not perform
the same things.
patch by Alan Curry, pacman_at_world_dot_std_dot_com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17564 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 00:29:35 +00:00
rtognimp c2b69a1427 Fix CSeq answer for keepalive OPTIONS requests during playback
The CSeq was mispelled as Cseq, so MPlayer alwys answered with CSeq=1

Fixed with help from xiojason on #mplayer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17563 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 23:44:44 +00:00
rtognimp ae8e77ca8d Add support for grayscale [m]jpeg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 23:22:29 +00:00
diego d4ade611df altivec_yuv2packedX() ignores the requested output format and unconditionally
outputs RGBA. This patch supports 6 output formats and prints an error message
if it is asked to provide an output format it is not capable of.
patch by Alan Curry, pacman_at_world_dot_std_dot_com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17561 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 13:14:19 +00:00
diego 8e5514a5d0 expanded and improved NeoMagic TV-out section
based on a patch by Helio Polis, simplesmoke_at_hotmail_dot_com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17560 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 12:17:41 +00:00
diego 1806f8776f AltiVec operations need to have memory aligned on 16-byte boundaries.
patch by Alan Curry, pacman at world dot std dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17559 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 08:20:40 +00:00
diego 7d56335977 vYCoeffsBank and vCCoeffsBank are allocated and initialized using incorrect
sizes based on the image width instead of height.
patch by Alan Curry, pacman at world dot std dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17558 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 08:16:53 +00:00
michael ec7b288ed5 10l 1000 fps fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17557 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 01:19:13 +00:00
diego e9aeec9849 fftruespeech works now that the nBlockAlign issue is settled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 23:49:44 +00:00
reimar ceeff576d3 read data in nBlockAlign aligned chunks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17555 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 22:12:34 +00:00
corey 15debd85d2 1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
   that mplayer/mencoder will instantly be in sync even when -delay is
   specified.

Other demuxers could be modified similarly in the future.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 20:22:44 +00:00
ods15 5d1bccd70c Fix mpng to work correctly with 16 bit png's. don't have any files to test
this on, but mpng still works correctly for files that worked fine before.
patch by derf < tterribe BANG xiph POIT org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17553 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 18:17:12 +00:00
ods15 0a7fab7bab EOR can only be (un)set for non delayed streams.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17552 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 16:52:05 +00:00
ptt 2794a784ae small syntax/upper-lowercase fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17551 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 16:04:25 +00:00
gpoirier 4479cb1c8f synced with 1.1223
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17550 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 08:54:47 +00:00
danny 31e5fa32fc Minor correction of last two updates
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17549 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 08:10:51 +00:00
ods15 e6611b7251 Allow headers to be repeated anywhere
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 04:03:11 +00:00
nplourde fa6ba9c127 let osx sleep if video is paused
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 01:36:32 +00:00