Commit Graph

17773 Commits

Author SHA1 Message Date
diego ee72a75fb3 Remove obsolete big-endian FIXMEs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17623 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 12:44:17 +00:00
cladisch 7673cbf6a7 Fix the error handling in the play() function: add a handler for EINTR,
improve the reporting of other errors, and don't try to call
snd_pcm_writei() repeatedly when it aborts after a partial write due to
an error.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:48:29 +00:00
cladisch 7d319f4b75 This changes the software parameters to be more compatible with the
behaviour of the OSS driver.  This implies that underruns are not longer
reported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17621 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:43:25 +00:00
cladisch 0fc0814fcd Using non-blocking writes makes sense when the program wants to do other
things instead of waiting for the device to become ready.  However, just
calling snd_pcm_wait() is identical to blocking mode, so we can just as
well remove support for non-blocking writes.

Besides, the waiting code was never actually used because play() is
never called with more data than reported by get_space().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:38:12 +00:00
cladisch 1328f3731c Remove the now superfluous mmap suboption.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17619 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:17:43 +00:00
cladisch 7f9397276b After removing play_mmap(), the play() function just unconditionally
calls play_normal().  This indirection is now superfluous.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17618 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:16:29 +00:00
cladisch cc8359e4e8 This patch removes mmap support because it doesn't have any benefit.
Directly accessing the sample buffer makes sense only when the samples
can be constructed in-place.  When the samples are just copied from
another buffer (as is the case with libao2 drivers), the code to copy
those samples is just a reimplementation of snd_pcm_writei(), so we
could as well use that function.

Besides, the current mmap code does not work except in the most simple
cases: it claims to support non-interleaved and complex sample formats,
but treats them the same as interleaved formats and writes to the wrong
memory location.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17617 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 11:15:25 +00:00
ods15 3b7240c575 fix index, first keyframe cannot be written with pts=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17616 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:29:11 +00:00
lorenm 394940b23c lavc exposes the reconstructed picture, so no need to decode it again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17615 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:00:37 +00:00
gpoirier 498490bfbe synced with 1.1226
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17614 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:51:38 +00:00
ods15 94884f5dee Make 'N' frame code implictly invalid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17613 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:40:02 +00:00
henry 81317a1a79 do not forget to initialize dp->buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17612 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:01:30 +00:00
diego 5fd172c3e1 Rephrase telecine and film2pal mpegopts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17611 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 16:21:07 +00:00
diego adbb2c67f8 Remove stray space.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17610 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 16:14:07 +00:00
gpoirier 7457379140 sync with 1.1224
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17609 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 15:40:40 +00:00
alex 052e870c81 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17608 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 14:50:05 +00:00
alex bac106d374 support openbsd/zaurus aswell
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17607 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 14:17:39 +00:00
alex f41945b508 one more hint for openbsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17606 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 14:14:12 +00:00
rtognimp 857fc398b0 Native ZMBV support via lavc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17605 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 12:57:25 +00:00
nicodvb e7275c7781 delay rff by 6, not 3 frames, so the rff will be in the middle of the 12 frames sequence
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17604 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 11:47:36 +00:00
nicodvb df1ba8c7b3 bugfixes and new soft-teleciner in muxer_mpeg.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17603 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 11:12:21 +00:00
nicodvb 96ad68b6ae mention film2pal in -mpegopts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 11:09:27 +00:00
nicodvb ea0696a999 experimental film2pal and ntsc2pal soft teleciner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17601 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 11:04:12 +00:00
henry deacfedb48 forgotten cast (blows on gcc4)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 10:51:04 +00:00
reimar 955fbdff3f we cannot continue without a crash when read_asf_header fails, since some
memory is allocated in that function (ugly!!).
Fixes bug #450, patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17599 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 09:58:27 +00:00
reimar 7bb8f38da8 add some sanity checks to new/resize_demux_packet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 09:28:09 +00:00
henry 3407748cf8 add a missing rule for libpostproc.a
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 08:03:58 +00:00
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