1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00
Commit Graph

17699 Commits

Author SHA1 Message Date
corey
89d848a8a2 dwStart support for mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17649 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 09:34:37 +00:00
ods15
0d29a779f8 deobfuscate some a/v sync code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17648 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-19 04:31:14 +00:00
michael
8f51734daf no upscale flag so automatic downscaling is possible in mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 21:12:56 +00:00
gpoirier
d7998ea0ef upport another G4 flavour: MPC7447* chips.
(MPC7448, MPC7445 and MPC7457 are still not supported currently, but it remains to be seen if they have been used in any real computer.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17646 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 20:04:42 +00:00
reimar
86e6ef0ca1 include stdlib.h and stdio.h, they tend to be useful :-)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17645 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 12:45:00 +00:00
corey
b4e5108496 dwStart support for mplayer.
* demux_avi sets stream_delay according to dwStart
* mplayer adjusts audio_delay according to stream_delay

3 related patches are pending, and I will apply them over the next few
days if all goes well.

As I mentioned on -dev-eng, the funny indentation is in preparation for
one of those pending patches.

See:
Date: Fri, 17 Feb 2006 00:53:28 -0800
To: mplayer-dev-eng@mplayerhq.hu
Subject: [PATCH] bframes, dwStart: individual patches


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17644 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 09:26:39 +00:00
pacman
366151d741 Just a comment update, replacing a FIXME to reflect the new expectation of
how altivec_yuv2packedX is supposed to be used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17643 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 01:08:17 +00:00
pacman
1960b4ad49 don't call altivec_yuv2packedX() with a dstFormat that it doesn't support;
instead fall back on yuv2packedXinC


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17642 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 00:41:28 +00:00
ods15
db8d9b1dc2 more cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17641 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 20:05:25 +00:00
ods15
01856feb63 some cleanup. enforce decode_delay to not be too high.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17640 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 19:45:35 +00:00
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