1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00
Commit Graph

17639 Commits

Author SHA1 Message Date
pacman
7aef655c0f Fix vec_clip for gcc's that don't handle (vector signed short){16} according
to spec; also convert a few vec_splat's to vec_splat_{s,u}*


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17639 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 05:01:46 +00:00
pacman
74e03a35f1 Fix colormap save/restore for directcolor fb devices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17638 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 03:49:33 +00:00
corey
1ab575101a Second-try commit of this patch.
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.

I've quadruple checked this time; hopefully I haven't missed anything.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 01:57:41 +00:00
aurel
808ce9a03a memalign segfaults when used without declaration on amd64 (default function return type is int so the pointer was trunctated to 32bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:43:42 +00:00
aurel
acf99ed75b fix compilation without openal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17635 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:35:04 +00:00
reimar
8424c24317 OpenAL audio support, actual output is mono-only (no positioning yet).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17634 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 20:45:25 +00:00
michael
ed85b56638 ng the fix for vCCoeffsBank patch by (Alan Curry <pacman TheWorld com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17633 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 12:55:23 +00:00
michael
c4da13ec52 make swscale-example compile patch by (Alan Curry <pacman TheWorld com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17632 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 12:52:09 +00:00
iive
2431c2a2cb include config.h before includes that need it
based on patch by Alan Curry <pacman at theworld com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 10:08:03 +00:00
rtognimp
daf506cc05 Add some more fourcc for DV and MPEG2 needed for some mov samples posted
on ffmpeg-devel list


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17630 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 22:10:22 +00:00
rtognimp
55b40c3656 Set SRC_PATH correctly, fixes libpostproc compilation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 21:43:32 +00:00
rtognimp
c104d2bd5f Import common.mak v1.1 from ffmpeg cvs, now it's needed by the building
system


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17628 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 21:42:49 +00:00
aurel
efdabb1b55 Don't test the v4l2_input audioset field for audio capabilities but still try changing the mute setting (patch by Jesse Allen < the3dfxdude _at_ gmail.com >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17627 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 20:13:55 +00:00
diego
52c917e583 Align memory at 16 byte boundaries.
This fixes crashes related to AltiVec as reported at
http://mplayerhq.hu/pipermail/mplayer-advusers/2006-January/001381.html
patch by Luca Barbato, lu_zero #at# gentoo #dot# org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:55:14 +00:00
iive
0aa37a0db2 allow autodetection of pictures type when using mf://@file.list syntax
autodetection is based on first picture instead of the url


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17625 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:34:30 +00:00
gpoirier
05e6f3c577 synced with 1.1227
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17624 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 12:49:15 +00:00
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