1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

1493 Commits

Author SHA1 Message Date
reimar
4f5303a7fe better set audio_out_minsize to MAX_FRAMESIZE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18160 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-20 09:23:13 +00:00
reimar
f232cb8882 set audio_out_minsize, should avoid all "maxlen too small" cases
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18159 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 22:33:58 +00:00
reimar
2d6eb3cf57 bug fixes: left-over mode variable used uninitialized,
initialize sh->audio_out_minsize to maximum decoded size


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18158 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 22:30:31 +00:00
diego
d4e9855511 Using channel count, samplerate and input bps values from the container
instead of the decoder breaks some DTS samples where the container says
the audio has 6 channels but the decoder gives 2. In this case take the
number of channels from the decoder instead, the output will almost
certainly be badly garbled anyway if the number of channels is wrong.
patch by Uoti Urpala, uoti <<.>> urpala <<@>> pp1 <<.>> inet <<.>> fi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18151 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-19 20:12:01 +00:00
nicodvb
e23ef70156 removed unreachable code: this filter can't compile with external libavcodec (the Makefile rules prevent it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18132 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-17 20:20:28 +00:00
nplourde
a3713ceb29 add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:46:54 +00:00
reimar
eae97616d5 10l, we should really, really use lzo1x_decompress_safe instead of lzo1x_decompress
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18069 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-09 18:25:35 +00:00
iive
69fe028f08 New mode for tinterlace filter
patch by Walter Belhaven <wbelhaven at yahoo >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18056 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-08 15:30:09 +00:00
rfelker
a93707fd8f 10l: missing const put this in data segment instead of text/rodata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18032 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 06:27:15 +00:00
rfelker
4f9e734957 move 12k from data to bss (reduce binary size by 12k)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18031 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-03 06:25:30 +00:00
reimar
abd8ba242c simplify extradata handling and make passing extradata on the default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18024 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-02 18:35:00 +00:00
reynaldo
b4c74fb28e Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 00:15:47 +00:00
diego
dd32d03f3e Trust the demuxer instead of the decoder for samplerate detection.
Fixes the ffmp3_bad_rate_detection.avi sample.
patch by qwen dux qwendu__at__gmail__.__com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17996 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 08:47:09 +00:00
diego
a33158d60d Convert printfs in aviprint.c to mp_msg and give the information printing
functions in this file a verbosity_level parameter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +00:00
reimar
171de9cf5f reinit vo when pix_fmt changes.
Avoids broken image or even crash with mf://*.jpg and JPGs with different chroma sampling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17974 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 10:32:52 +00:00
diego
41bfa3e8e0 Change some printf calls to fprintf.
based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:49:14 +00:00
diego
7416ded30b Change 'if(verbose)' to the more appropriate mp_msg_test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17970 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 07:22:48 +00:00
lorenm
f9ed90fb61 use shifts instead of division. 15% faster hqdn3d
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17966 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-26 21:32:52 +00:00
diego
eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
michael
87323740ed feed something (hopefully correct timestamps) into the video filter chain
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17911 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 23:09:52 +00:00
michael
a812e6fc3c lavc doesnt pass AVFrame.opaque around :/
so lets use AVFrame.pts and hope lavcs pedantic timestamp checks like what mencoder generates ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17910 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 23:06:09 +00:00
michael
565af71e4f 10l (null pointer dereference)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17908 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 22:12:48 +00:00
michael
02b199e5e9 passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 21:26:42 +00:00
lorenm
5283b5beef sync to x264 r476 (subq=7)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17903 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-20 23:13:37 +00:00
corey
fac2fee9fe Support libavcodec vrc_strategy=1 (XviD ratecontrol).
As a side effect, this also makes -lavcopts vcodec=xvid work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17887 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-17 23:47:10 +00:00
nicodvb
81472a14a7 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 21:56:24 +00:00
rtognimp
0ba7f250d7 Remove twos workaround, this bug was fixed in mov demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17869 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-14 22:15:24 +00:00
rathann
68f49b8512 in24/in32/fl32 little/big-endian QuickTime PCM audio support
approved by rxt


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17859 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 23:32:36 +00:00
michael
4f3dfe9738 do not randomly chop up packets, this isnt allowed in almost no container
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17856 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 17:15:51 +00:00
michael
3d19a5474d -lavcopts aglobal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17843 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 02:40:09 +00:00
rfelker
7519cfa528 10l found by Oded: case 2 on a boolean value...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17833 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 18:31:50 +00:00
rathann
7875c2e150 QuickTime in24 and in32 PCM audio support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17814 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 22:43:28 +00:00
reimar
e358534d3a add default case to encoder switch-case (maybe an error message would be good as well).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17782 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 15:49:46 +00:00
reimar
d851f8c22e free tmp earlier, it is not needed below and might leak on errors otherwise
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17769 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 10:50:16 +00:00
lorenm
66419046a2 sync to x264 r457 (direct_pred=3)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17732 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-05 07:23:12 +00:00
diego
434c3d0218 Reduce Real DLL/so loading verbosity, OKed by Roberto.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17722 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:38:46 +00:00
gpoirier
bc6540bae9 XviD multi-threaded encoding support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17704 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 09:18:56 +00:00
michael
593dda77e9 10l (dont limit dimension components independantly if noup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17675 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 15:22:59 +00:00
corey
960b978a03 Fix video delay when encoding with B-frames.
Encoding delay is adjusted for on-the-fly during encoding.

Decoding delay is compensated for by setting an appropriate dwStart on
the audio stream (only in muxer_avi at this point).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17660 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-21 09:39:22 +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
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
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
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
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
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
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
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
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
diego
aa18e3de57 Only compile libmpencoders if MEncoder has been enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17525 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:45:46 +00:00