summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* misc cosmetics: K&R style nits, #include placement, indentationdiego2010-05-294-80/+84
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31263 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark key_type structure as const.diego2010-05-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31262 b3059339-0415-0410-9bf9-f77b7e298cf2
* getch2-os2.c: Add #include for the header that declares the public functions.diego2010-05-291-0/+1
| | | | | | | This should fix a bunch of warnings on OS/2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31261 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove some commented-out #includes, fix a comment grammar error.diego2010-05-291-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Directly mark jpeg_buf_src() as void instead of using some indirection marcro.diego2010-05-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31259 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "lpcJ" fourcc for the RealAudio 1.0 codec.compn2010-05-281-0/+1
| | | | | | | patch by Francesco Lavra git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in message.reimar2010-05-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31256 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_check_interrupt should sleep even if no callback is set.reimar2010-05-281-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31255 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, stream_check_for_interrupt argument is not in usec,reimar2010-05-281-3/+3
| | | | | | | so we would end up sleeping for 10s instead of 10ms. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document time scale for stream_check_interrupt argument.reimar2010-05-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31253 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document that time argument is in milliseconds.reimar2010-05-281-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31252 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve handling of cache process/thread hanging/being killed.reimar2010-05-281-3/+23
| | | | | | | In particular allow a single STRG+C to quit MPlayer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31251 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix cache process accidentally being killed by SIGUSR1.reimar2010-05-281-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MSGT_DECVIDEO in a video decoder.cehoyos2010-05-281-3/+3
| | | | | | | Patch by Giorgio Vazzana, mywing81 gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove commented-out declaration of nonexisting function uGetTimer().diego2010-05-281-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop pointless _t suffix from 'struct lavf_priv'.diego2010-05-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop pointles _st suffix from struct mp_cmd_filter and mp_cmd_bind_section.diego2010-05-271-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31246 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: vertical alignment in msg module help output.diego2010-05-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31245 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_yuy2 was removed after the 1.0rc3 branch was cut.diego2010-05-271-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31244 b3059339-0415-0410-9bf9-f77b7e298cf2
* small cosmetics for the 1.0rc3 changelogdiego2010-05-271-6/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31243 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a bunch of typos in the stream cache code.diego2010-05-271-6/+6
| | | | | | | patch by Giorgio Vazzana, mywing81 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop pointless _s suffix from 'struct af_stream'.diego2010-05-272-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop pointless _st suffix from 'struct stream'.diego2010-05-279-37/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop pointless _s suffix from struct ao_data.diego2010-05-271-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31235 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Reformat in K&R coding style.diego2010-05-272-2568/+2379
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31234 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove two pointless void* casts.diego2010-05-271-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31233 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary demux_mkv_seek() forward declaration.diego2010-05-271-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31232 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Drop pointless _s suffix from 'struct ad_functions'.diego2010-05-272-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31231 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Drop pointless _s suffix from 'struct mp_image'.diego2010-05-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31230 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Drop _s suffix from 'struct vd_functions'.diego2010-05-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31229 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: K&R coding stylediego2010-05-271-259/+298
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31228 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: K&R coding stylediego2010-05-271-203/+236
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31227 b3059339-0415-0410-9bf9-f77b7e298cf2
* Retry reading even if we hit eof before.reimar2010-05-262-3/+6
| | | | | | | This allows playing growing files even with a large cache. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31226 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch ogg demuxing to lavf by default.reimar2010-05-261-0/+1
| | | | | | | | This has the side-effect of using fftheora by default instead of theora, which possibly should be changed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31225 b3059339-0415-0410-9bf9-f77b7e298cf2
* Re-enable wakeup-on-signal for cache process.reimar2010-05-261-5/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable waking the cache process up via a signal, itreimar2010-05-261-1/+4
| | | | | | | currently causes read errors due to not handling EINTR. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Both XVID and VDPAU decode our SIPP sample better than current libavcodec.cehoyos2010-05-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31222 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing RGB12 version of the fast OSD table.diego2010-05-261-0/+2
| | | | | | | patch by Janusz Krzysztofik, jkrzyszt tis.icnet pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for decoding VP8 through libvpx wrapper in FFmpeg.diego2010-05-253-0/+37
| | | | | | | patch by James Zern, jzern google com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove obsolete new policy proposal draft from Michael.diego2010-05-251-309/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31219 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for STREAM_CTRL_SEEK_TO_TIME in ffmpeg streamshyc2010-05-252-4/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31218 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmeticsdiego2010-05-254-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31217 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: fix indentationdiego2010-05-251-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31216 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: vertical alignment in msg module help outputdiego2010-05-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31215 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some commented-out duplicate option entries.diego2010-05-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31214 b3059339-0415-0410-9bf9-f77b7e298cf2
* K&R cosmetics: Fix '*' placement.diego2010-05-251-123/+123
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused forward declarations.diego2010-05-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31212 b3059339-0415-0410-9bf9-f77b7e298cf2
* Samsung uses SIPP as FourCC for MPEG-4 ASP.cehoyos2010-05-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31211 b3059339-0415-0410-9bf9-f77b7e298cf2
* support linking to fribidi without pkg-configsiretart2010-05-241-2/+8
| | | | | | | | reintroduce the logic that was removed with the previous commit. In case the naive approach to link fails, try again with pkg-config. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31210 b3059339-0415-0410-9bf9-f77b7e298cf2
* make configure use pkg-config for fribidi checkssiretart2010-05-241-13/+2
| | | | | | | | | | | | | | fribidi upstream has dropped fribidi-config in favor of pkg-config now: http://lists.freedesktop.org/archives/fribidi/2008-May/000532.html This commit fixes: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1675 https://launchpad.net/bugs/556200 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582784 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31209 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change -vo md5sum to not interleave U and V lines when calculatingreimar2010-05-242-0/+3
| | | | | | | the MD5, thus making it match FFmpeg's -f framemd5. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31208 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OpenGL autodetection to not leave values at -1.reimar2010-05-241-5/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid decoding of 0-size packets. This also fixes that the main loop believesreimar2010-05-231-0/+4
| | | | | | | | tehre is an infinite number of delayed frames, thus never finishing (happens with -demuxer lavf -vc theora). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MP_NOPTS_VALUE as "default" pts for delayed frames instead of somereimar2010-05-231-1/+1
| | | | | | | | insanely large value. Avoids hang if a decoder handles the data/size == 0 condition incorrectly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31205 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly reduce number of #ifsreimar2010-05-231-22/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31204 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use an extra define to simplify ifdefsreimar2010-05-231-14/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31203 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try reducing the #ifdef mess for the different cache variants.reimar2010-05-231-15/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31202 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extract the cache main loop into a separate function.reimar2010-05-231-14/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31201 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ambiguous language about indenting if-blocks.diego2010-05-231-3/+0
| | | | | | | | | | The previous version could possibly be misread in a way that forbids reindenting if-blocks. The intended meaning, that whitespace changes should be separated from other changes, is already implied from what is written above that paragraph. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Optimize cache behaviour for the many-consecutive-seeks case.reimar2010-05-231-1/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31199 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add code to wake up cache process when e.g. a seek is needed.reimar2010-05-231-0/+14
| | | | | | | | Dramatically reduces seeking times with lavf ogg demuxer. Needs a spearate implementation for the thread-based cache implementation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31198 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add ChangeLog entry about CineForm support.sesse2010-05-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add final missing bits of CineForm HD support on Linux (via the Windowssesse2010-05-233-4/+36
| | | | | | | | | | | | | | | | | | | | | | | DirectShow codec). Required changes: - codecs.conf entry (of course). - Allow opening files with “.col” in the file name, just like “vp3” and “.fpf” already was allowed. (CineForm expects to be able to do this, presumably for some color management code.) - In registry.c, fake a few registry keys that the codec expects the installer to have written. Also, change a few magic numbers (0, 2) to the appropriate constants (ERROR_SUCCESS, ERROR_FILE_NOT_FOUND) where appropriate, so the code is easier to follow. SMP works fine, but seemingly performs suboptimally (e.g., on my dual-core laptop, CineForm performs better if I lie to it and tell it I have four cores). I don't know if this is inherent in the codec, or some inefficiency in the emulated synchronization primitives. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31196 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function MODULE_DecRefCount(), fixes the warning:diego2010-05-231-33/+0
| | | | | | | loader/module.c:618: warning: 'MODULE_DecRefCount' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31195 b3059339-0415-0410-9bf9-f77b7e298cf2
* K&R coding style should be applied to new code.diego2010-05-231-7/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31194 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: reformat ad_pcm.c in K&R stylediego2010-05-231-90/+93
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31193 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add empty newline to separate function declarations, for betterstefano2010-05-231-0/+1
| | | | | | readability. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31192 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore (but print out) offset with libtheora decoder.cehoyos2010-05-221-3/+4
| | | | | | | Patch by Giorgio Vazzana, mywing81 gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use correct-pts for mpeg-ps: It breaks PAFF samples.cehoyos2010-05-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31190 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change WAV header updating in ao_pcm to allow to up to almost 4GB size.reimar2010-05-211-2/+4
| | | | | | | Patch by Rob McMullen [robm users sourceforge net] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31189 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 rev. 31173jrash2010-05-211-10/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31188 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation broken by FFmpeg-r23201 that changed the api of error logging.iive2010-05-202-7/+11
| | | | | | | | | Also fix evaluation after FFmpeg-r23149 "change order of parameters". Let the filters fail if evaluation can't be done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: make more compact the code for handle_jpeg(), this also allowsstefano2010-05-191-14/+5
| | | | | | vertical alignment. Improve readability. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31186 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove PI definition and use M_PI instead.stefano2010-05-192-7/+2
| | | | | | M_PI is defined by the included file libavutil/mathematics.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31185 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not return pointer to on-stack memory.reimar2010-05-191-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31184 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix return value (it was missing completely).reimar2010-05-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle -wid Window being closed for direct3d and gl vos on Windows.reimar2010-05-191-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31182 b3059339-0415-0410-9bf9-f77b7e298cf2
* 13% faster yuv420 to rgb15 mmx.lorenm2010-05-192-21/+19