1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00
Commit Graph

17627 Commits

Author SHA1 Message Date
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
diego
312bff7977 -fixed-vo shall no longer be called BETA-CODE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17546 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 00:01:38 +00:00
diego
dba63a48e0 ZMB decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17545 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 21:33:43 +00:00
diego
6c83566667 Move ffrv10 and ffrv20 into RealVideo section, prefer ffrv20 over rv20.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17544 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 21:27:01 +00:00
diego
5879f38ce8 Mark ffrv20 as working.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 21:25:17 +00:00
diego
6413e0fe79 Add support for Zip Motion-Block Video (ZMB), patch by Kostya.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17542 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 21:24:17 +00:00
nicodvb
17102bc24c removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17541 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 21:22:30 +00:00
nicodvb
6f759b4d40 fixed wrong delta_frame calculation that would affect soft-telecine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17540 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 20:59:19 +00:00
diego
5433d82ef1 Build muxers only when MEncoder is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17539 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-06 16:04:17 +00:00
kraymer
2111bc97f8 1.221: Typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17538 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 14:53:08 +00:00
kraymer
73e8a03d74 1.1222: cs and ls swscale parameters accept different value ranges now.
1.1221: Add -nocache option, -cache is not a flag option.
1.1220: x264 tweaks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17537 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 14:48:02 +00:00
diego
a44e14f304 cs and ls swscale parameters accept different value ranges now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17536 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 14:16:39 +00:00
reimar
7c974d1077 reinitialize adapter_count to 0, EnumCallbackEx will not work otherwise
(when playing more that one file). Fixes bug #429.
Based on patch by Miguel Scaramozzino - dyingshell at yahoo com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17535 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-05 09:41:53 +00:00
ods15
e966401eba Index repetition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17534 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 08:54:31 +00:00
ods15
a3a2ac9da6 add compare_ts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17533 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 08:53:43 +00:00
ods15
ebcf3473e5 EOR in index
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17532 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 08:52:35 +00:00
michael
694c65e985 change sws sharpen filter a little
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17531 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 00:08:54 +00:00
gpoirier
d7565fdceb synced with 1.1221
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17530 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-03 17:07:43 +00:00
diego
789af5d8ec Add -nocache option, -cache is not a flag option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17529 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-02 13:14:28 +00:00
faust3
06f0cd6893 avoid conflicting types error on cygwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17528 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-02 12:01:40 +00:00