1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00
Commit Graph

1578 Commits

Author SHA1 Message Date
uau
e9b1adff17 Change pcm decode_audio to return data based on minlen instead of maxlen
to avoid demuxing unnecessarily much at once.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19389 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 23:09:17 +00:00
diego
b89020afc8 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
michael
b85ad74dc9 pass average bitrate from encoder to (lavf) muxer
this fixes some problems with muxing mp4 files for the psp


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19366 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-10 21:48:41 +00:00
diego
4d82067c91 cosmetics: Rename some variables for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19354 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-07 08:57:43 +00:00
eugeni
d6f16f6889 "[ass] init" message looks better when it starts with the capital letter 'I'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19347 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-06 18:02:42 +00:00
ben
d4b05b8312 fix a/v sync issues when using ad_hwmpa
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19292 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-01 18:44:31 +00:00
pacman
fafd27da46 Fix SVQ3 extradata handling so it works correctly with demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19284 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:26:25 +00:00
pacman
0265bf2065 Fix bogus pointer addition in the extraction of extradata from
BITMAPINFOHEADER.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19283 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:19:48 +00:00
ben
49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
diego
e9e6d8b29e There is a reference to a file COPYRIGHT that we do not include, so paste
the contents of COPYRIGHT into the file header.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19269 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 22:17:25 +00:00
diego
22b5b6d0f5 Unify include paths in the build system, part I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 10:08:17 +00:00
michael
14ddfdddf8 vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected
the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-24 10:36:06 +00:00
gpoirier
a759a80397 in some cases, vf_bmovl produces junk due to source and
destination stride mismatch. The attached patch fixes it by replacing
memcpy with memcpy_pic.
Patch by Jindrich Makovicka
Original thread:
Date: Jul 12, 2006 6:35 PM
Subject: [MPlayer-dev-eng] [PATCH] vf_bmovl: respect destination stride


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19171 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 14:35:04 +00:00
gpoirier
e746e16d88 -vf pp7 overblurs still parts of the image, which
have qp=1, and qp becomes zero after the >> 1. Modifying the threshold
table for qp=0 so it copies the qp=1 case seems to fix the problem.
Patch by Jindrich Makovicka % makovick AH gmail P com %
Original thread:
Date: Jul 22, 2006 2:55 PM
Subject: [MPlayer-dev-eng] [PATCH] -vf pp7 artifacting in still MPEG2 images


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19170 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 13:38:20 +00:00
nicodvb
6ca4f9ea81 in decode_audio() memset(0) unused memory in buf before returning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19164 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 08:35:18 +00:00
nicodvb
be75a5f7d7 don't do the work of mp_get_mp3_header() and, as a side effect, prevent a deadlock due to a missed cnt++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19163 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 07:52:51 +00:00
nicodvb
f87e61e782 the value returned by decode_audio() must be the amount of _decoded_ bytes (finally it's beginning t work: no more toomanypackets... message)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19162 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 22:14:14 +00:00
ben
b1b0d86c7e moved mpeg_packetizer helpers to libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19146 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 22:13:50 +00:00
ben
5e2623cb49 new mpeg helpers to build and send mpeg 1/2 ps/pes packets (used by some vo drivers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19141 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 21:46:06 +00:00
rtogni
c885bca73c Quit on eof, was broken by r17150
Noticed by LR hephooey  gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19140 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 18:20:25 +00:00
rfelker
beb4f8e000 old 10l: do not try to compile mmx code if we do not have mmx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19135 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 04:54:27 +00:00
lorenm
e08fe8174f sync to x264 r537 (api change)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19130 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-18 01:28:56 +00:00
nicodvb
9059d9f95e prevent buffer underflow; the code is still incorrect and leads to desync but at least it doesn't crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19125 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 16:34:05 +00:00
reynaldo
d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo
58ed2c3fe0 marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 16:03:12 +00:00
ivo
b6fa4fa203 print frame type and keep track of last encountered keyframe
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19101 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 10:35:22 +00:00
ivo
761c684fc8 new black frame detection filter
by Brian J. Murrell, Julian Hall and me.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19099 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 09:18:44 +00:00
diego
f89a7da604 Remove support for obsolete and non-free divx4/odivx libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 17:14:16 +00:00
diego
b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
reynaldo
c0c641f0e3 marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19071 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 20:59:18 +00:00
reynaldo
d8c03e95a5 drops casts from void * on malloc/calloc, leftover on libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19070 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 20:23:34 +00:00
diego
f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
rfelker
9335d08615 c++ decls, 100000000000l to whoever broke my code like this..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18991 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 02:54:43 +00:00
reynaldo
4728357b58 Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 17:45:36 +00:00
diego
e364249f21 Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 16:01:36 +00:00
diego
a356cbcc01 Remove unused variables, patch by Stefan Huehner stefan at huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 17:28:36 +00:00
eugeni
e15ae9a600 Initial libass release (without mencoder support).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:26:51 +00:00
uau
e2727ec797 Add a new video pts tracking mode, enabled by option -correct-pts.
This mode has the following differences:
- Video timing is correct for streams with B frames, at least with some
  demuxers.
- Video filters can modify frame timestamps and insert new frames, and
  removing frames is handled better than before.
- Some things are known to break, it's not usable as the default yet.

Things should work as before when the -correct-pts option is not used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 06:58:17 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
3afd65b3af rm unnecesary casts from void* - part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
diego
d4d3146c8a postprocess.h was moved to libpostproc years ago..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18867 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:38:22 +00:00
lucabe
cc30aae17b Move postproc ---> libswscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:00:31 +00:00
reynaldo
a97779a3de correct handling of sgi compressed images on amd64, patch by Paul-Francois Fontigny - pff AT filmik-be
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18860 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 03:18:12 +00:00
reimar
1f3936ab24 Avoid crash in uninit-without-config case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18825 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 17:01:07 +00:00
uau
c22ccbb864 Revert Michael's VFCTRL_FLIP_PAGE changes ("svn merge -r 18781:18779 .")
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18782 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 23:50:23 +00:00
michael
a8d08eee90 intercept VFCTRL_FLIP_PAGE if needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18781 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 20:52:07 +00:00
diego
60f223f766 Move #ifdefs around complete files into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 14:49:09 +00:00
diego
1f5613892e Comment #ifdef #endif jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18771 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 11:59:07 +00:00
diego
7f70c8316b Comment some #endif directives to avoid confusion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18769 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 10:53:20 +00:00
diego
1127c1e91d Remove separation between Win32 DLL and DirectShow support in the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18768 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 09:45:17 +00:00