aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
| * mp_taglists.c: add CODEC_ID_ANM and CODEC_ID_AVSGravatar reimar2011-05-02
| | | | | | | | | | | | Add mapping between codec ID and tag for ANM and AVS. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33288 b3059339-0415-0410-9bf9-f77b7e298cf2
| * vd_ffmpeg: Make DR work with reget_buffer without buffer_hintsGravatar reimar2011-05-02
| | | | | | | | | | | | Allow DR to work with reget_buffer when no buffer_hints are set. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33287 b3059339-0415-0410-9bf9-f77b7e298cf2
| * vd_ffmpeg: handle reget_buffer in DRI failure fallback codeGravatar reimar2011-05-02
| | | | | | | | | | | | Allow reget_buffer to somewhat work after direct rendering failure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33286 b3059339-0415-0410-9bf9-f77b7e298cf2
| * demux_ts: Hint at -tsprobe option when no audio stream is foundGravatar diego2011-05-02
| | | | | | | | | | | | patch by Godmar Back, godmar gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33271 b3059339-0415-0410-9bf9-f77b7e298cf2
| * ad_qtaudio: don't run win32 loader code when it's not usedGravatar reimar2011-05-02
| | | | | | | | | | | | | | Do not try to set up the FS segment when using quicktime to decode, it makes no sense to do that. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33259 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: add Kega Video (kgv1) from libavcodecGravatar cehoyos2011-05-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33254 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sub/spudec: fix artefacts at right border of subtitlesGravatar reimar2011-05-02
| | | | | | | | | | | | | | | | | | | | | | | | Fix artefacts at right border of scaled bitmap subtitles by clearing the destination to 0 first if the width is not a multiple of 8. This is necessary because some of the optimized sub drawing functions always draw pixels in multiples of 8, so we cannot rely on any "dirt" in the "unused" borders being ignored. Note that due to the way rendering works, both alpha and the image need to be cleared. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33230 b3059339-0415-0410-9bf9-f77b7e298cf2
| * options: Add dummy -shuffle option to show it in -list-optionsGravatar reimar2011-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | Add dummy -shuffle and -noshuffle options so they appear in -list-options output. These features are not implemented as options; rather they're features of the command line parser. Also add the CONF_NOCFG flag to the existing playlist option, which is a similar placeholder for a command line parser feature. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33147 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33148 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf, mp_taglists: add FFmpeg Bitmap Brothers JV decoderGravatar cehoyos2011-05-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33125 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cache: call stream read with at least sector size spaceGravatar reimar2011-05-01
| | | | | | | | | | | | | | | | | | | | | | | | Ensure we always pass a buffer of at least sector size to the read function. This is never an issue with streams that have actual sectors, as the reads will always return a multiple of sector size and the cache is always used in blocks of sector size. However the rtp protocol misuses this so it can just assume it always has a sufficiently large buffer available and thus fails without this extra hack. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33120 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: cleanup/unify hdv* fourccs, except vdpauGravatar compn2011-05-01
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33113 b3059339-0415-0410-9bf9-f77b7e298cf2
* | input: don't interrupt processing at unbound eventsGravatar Uoti Urpala2011-05-01
| | | | | | | | | | | | | | | | | | | | The input code read at most one event per input or command fd. If this event was not bound to any recognized command then no command was returned, and higher-level code could not distinguish this case from there being no pending events left. As a result unbound events would cause extra latency in event processing. Change the input code to continue reading events until it either finds one that maps to a command or hits EOF/error.
* | input: make stdin non-blocking for terminal inputGravatar Uoti Urpala2011-04-28
| | | | | | | | | | | | | | getch2.c did not make stdin non-blocking, and relied on only being called after select() had shown readability. Stop relying on that assumption and set stdin to non-blocking mode. Hopefully no relevant platform has problems with this...
* | find_subfiles: fix unintended modification of global filenameGravatar Uoti Urpala2011-04-28
| | | | | | | | | | | | | | | | | | | | Commit a2d28010cc ("cleanup: find_subfiles.c: simplify (mainly using bstr)") was missing a bstrdup() in subtitle search code, and thus the code erroneously modified the original filename string passed in. As a result anything which printed or otherwise used the filename after that would use a lowercase-converted version instead of the actual file name. Fix by adding the bstrdup() to operate on a local copy of the name instead.
* | vf_*: fix pts values passed to the next filterGravatar Rudolf Polzer2011-04-24
| | | | | | | | | | | | | | | | | | | | | | | | Many video filters failed to calculate or even just pass through pts values for their output frames. Fix this, and also make the two remaining filters that called vf_next_put_image() twice for the same input frame (vf_softpulldown, vf_telecine) use vf_queue_frame() so that e.g. framestepping properly sees both frames. Changed filters: vf_bmovl, vf_detc, vf_divtc, vf_filmdint, vf_ivtc, vf_lavc, vf_phase, vf_pullup, vf_softpulldown, vf_telecine, vf_tile, vf_tinterlace.
* | bstr.h: change BSTR() from macro to inline functionGravatar Uoti Urpala2011-04-24
| | | | | | | | | | | | | | | | Change BSTR() from a macro producing a compound literal to an inline function returning the same value. This works for all existing uses, and avoids a warning from BSTR(NULL) (the macro expansion contained strlen(NULL); this was valid code because the strlen call was never evaluated, but still triggered a GCC warning).
* | demux_ogg: fix slang selectionGravatar Clément Bœsch2011-04-23
| | | | | | | | | | | | Commit 59fff90d94 ("options: change -alang and -slang to use string list type") failed to change demux_ogg accordingly. Add the missing change.
* | input: sleep in event loop even if there are no input fdsGravatar Uoti Urpala2011-04-22
| | | | | | | | | | | | | | | | | | The input loop select() call was only run if there was at least one input file descriptor. However other code uses the input loop to wait; this could result in the wait becoming a busy loop when running with -noconsolecontrols (without that there is at least one input fd for terminal input). Make the input loop call select() to sleep even if there are no input file descriptors.
* | audio: fill small AO buffers more often in audio-only caseGravatar Uoti Urpala2011-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit cbeed30ae8 ("core: wake up a bit less often for audio-only files") increased the sleep time between audio buffer fills. This turned out to cause problems on some machines where available audio buffer sizes are extremely limited (example cases included 85 ms for stereo and less for multichannel audio). Change the code to check the amount of buffered audio and shorten sleep times accordingly if needed. Such short buffers violate some assumptions made by video timing code, so they may still cause visible problems in some cases. At least on some machines using ALSA the problem seems to be caused by bad configuration defaults (small buffer memory limit which can be increased).
* | configure: abort if certain libraries can't be foundGravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | | | Change the behavior of the iconv, freetype, fontconfig and libass tests when autodetection fails. They now abort instead of silently creating a crippled build. Users who really want to build without those features can use explicit --disable flags.
* | configure: fix --enable-3dfx override without dgaGravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | | | | | | | If --enable-3dfx is specified but dga is not available then 3dfx is disabled nonetheless. However, this disabling is not done properly, and libvo/vo_3dfx.c is still compiled (but cannot be used). Fix. The behavior of automatically disabling vo_3dfx despite --enable-3dfx is itself questionable, but I'm not changing that now.
* | Update libav API usesGravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | | | | | | | | | | | Update various code to use newer alternatives instead of deprecated functions/fields that are being dropped at libav API bump. An exception is avcodec_thread_init() which is being dropped even though it's still _necessary_ with fairly recent libav versions, so there's no good alternative which would work with both those recent versions and latest libavcodec. I think there are grounds to consider the drop premature and revert it for now; if that doesn't happen I'll add a version-test #if check around it later.
* | manpage: restore -lavfdopts doc accidentally removed in d76ad5f2Gravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | | | | | | | For some reason the -lavfdopts option was documented under MEncoder options (despite not being MEncoder-specific), and was removed together with MEncoder documentation in commit d76ad5f227. Restore the documentation and convert it from its own section to normal option documentation form. Also fix the example to actually work with current lavf.
* | config: remove pointless cfg-mplayer-def.h fileGravatar Clément Bœsch2011-04-20
| |
* | options: merge cfg-mplayer.h and cfg-common.hGravatar Clément Bœsch2011-04-20
| | | | | | | | | | | | Remove obsolete extern declarations for demuxer_type, audio_demuxer_type, sub_demuxer_type and noconfig_opts in the process.
* | vo_dga: replace xf86dga.h with Xxf86dga.hGravatar Clément Bœsch2011-04-20
| | | | | | | | xf86dga.h is deprecated and may be removed in the future.
* | cleanup: avoid various GCC warningsGravatar Clément Bœsch2011-04-20
| |
* | ao_alsa: remove warning by simplifying error handling caseGravatar Clément Bœsch2011-04-20
| | | | | | | | | | Avoid a gcc warning about potentially uninitialized variable 'err' (there was no actual problem with the code).
* | cleanup: find_subfiles.c: simplify (mainly using bstr)Gravatar Uoti Urpala2011-04-20
| |
* | cleanup: find_subfiles.c: simplify declarations and allocationsGravatar Clément Bœsch2011-04-20
| | | | | | | | | | Also clarify compare_sub_priority() and remove a typedef for the subfn structure in the process.
* | find_subfiles: select subtitle files matching -slangGravatar Clément Bœsch2011-04-20
| | | | | | | | Also simplify subtitle selection a bit.
* | find_subfiles: try to determine if a .sub file is text or vobsubGravatar Clément Bœsch2011-04-20
| | | | | | | | | | | | | | A file with the ambiguous extension .sub could be either VOBsub or MicroDVD. If there's a corresponding .idx file it's certainly VOBsub, so don't add it to the list of potential text subtitles. This will avoid the annoying warning "SUB: Could not determine file format".
* | subs: options: add -sub-pathsGravatar Clément Bœsch2011-04-20
| |
* | options: support string list separators other than ','Gravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | Allow specifying a custom separator character for options of string list type, and use that to define OPT_PATHLIST which takes a list of strings separated by ':' (or ';' on Windows).
* | find_subfiles: allow subtitle search in multiple directoriesGravatar Clément Bœsch2011-04-20
| |
* | subs: move vobsub loading logic down to find_subfiles.cGravatar Uoti Urpala2011-04-20
| | | | | | | | | | | | | | Analogously to the previous commit, move path handling logic for loading external vobsub files from mplayer.c to find_subfiles.c. Based on a commit from Clément Bœsch but fixed and simplified.
* | subs: move text sub loading logic down to find_subfiles.cGravatar Clément Bœsch2011-04-20
| | | | | | | | | | | | Move path handling for loading external subtitle files from mplayer.c to find_subfiles.c. Now the remaining code in mplayer.c only gets a list of potential filenames and tries opening those.
* | find_subfiles: move sub_filenames() hereGravatar Clément Bœsch2011-04-20
| | | | | | | | | | | | | | | | | | | | Move sub_filenames() and related code from subreader.c to new file find_subfiles.c. This function is used to find subtitle files that should be loaded for the current video; this functionality is not specific to the particular kind of text subtitle handling implemented in subreader.c. Also reindent and prettify the moved code a bit.
* | options: move sub_name, sub_auto and vobsub_name to structGravatar Clément Bœsch2011-04-20
| |
* | options: change -alang and -slang to use string list typeGravatar Clément Bœsch2011-04-20
| | | | | | | | | | | | | | | | | | There is no reason to use manual language list splitting when an automatic split function is already available. Some types change from "unsigned char" to "char", but this shouldn't cause issues since [as]lang settings are unlikely to have characters above 127.
| * vd_ffmpeg: require aligned stride in get_buffer()Gravatar zuxy2011-04-13
| | | | | | | | | | | | | | Change MP_IMGFLAG_ACCEPT_STRIDE to MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE in get_buffer() as various FFmpeg assembly routines assume aligned input. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33097 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: only list 4:2:0 colorspace fourccs for VDPAUGravatar cehoyos2011-04-13
| | | | | | | | | | | | VDPAU hardware decoding does not support colorspaces other than 4:2:0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33096 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf, stheader.h: support CrystalHD decoding (libavcodec)Gravatar cehoyos2011-04-13
| | | | | | | | | | | | | | | | | | | | Add the various decoders to codecs.conf and increase the maximum number of buffered pts in stheader.h (apparently CrystalHD can have very high decoder lag). Patch by Philip Langdale, philipl overt org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33095 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: add xd55 isom for mpeg2 video from fcpGravatar compn2011-04-13
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33094 b3059339-0415-0410-9bf9-f77b7e298cf2 Conflicts: etc/codecs.conf
| * stream: http: Allow setting custom http headerGravatar cehoyos2011-04-13
| | | | | | | | | | | | Patch by Nikolay Nikolaev, nicknickolaev yahoo com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33082 b3059339-0415-0410-9bf9-f77b7e298cf2
| * stream_dvdnav: output ID_DVD_VOLUME_ID also for dvdnav://Gravatar cehoyos2011-04-13
| | | | | | | | | | | | Patch by Mike Castle, dalgoda+mplayer gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33081 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: Use fourcc instead of format where appropriateGravatar cehoyos2011-04-13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33077 b3059339-0415-0410-9bf9-f77b7e298cf2
| * ad_pcm, codecs.conf: support 'lpcm' in mov and float in aiffGravatar cehoyos2011-04-13
| | | | | | | | | | | | | | | | | | | | | | Support 'lpcm' in mov files, has audible (clipping?) artefacts on some systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33075 b3059339-0415-0410-9bf9-f77b7e298cf2 Support 32bit big endian float pcm in aiff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33076 b3059339-0415-0410-9bf9-f77b7e298cf2
| * options: add -gamma (was only accessible from slave mode before)Gravatar cehoyos2011-04-13
| | | | | | | | | | | | Patch by Kevin DeKorte, kdekorte at gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33064 b3059339-0415-0410-9bf9-f77b7e298cf2
| * codecs.conf: Add FourCC ai12 for AVC Intra 100 / 1080.Gravatar cehoyos2011-04-13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33061 b3059339-0415-0410-9bf9-f77b7e298cf2