aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* demux: set filepos field when dequeuing a packetGravatar wm42014-07-05
| | | | Otherwise the position can be too far ahead.
* demux: cosmetics: minimize codeGravatar wm42014-07-05
|
* demux: make start time a simple fieldGravatar wm42014-07-05
| | | | Simpler, especially for later changes.
* demux, stream: change metadata notificationGravatar wm42014-07-05
| | | | | | | | | | | | (Again.) This time, we simply make it event-based, as it should be. This is done for both demuxer metadata and stream metadata. For some ogg-over-icy streams, 2 updates are reported on stream start. This is because libavformat reports an update right on start, while including the same info in the "static" metadata. I don't know if that's a bug or a feature.
* demux: make replaygain per-trackGravatar wm42014-07-05
| | | | | | It's unlikely that files with multiple audio tracks and with replaygain actually happen, but this change might help avoid minor corner cases with later changes.
* demux: move packet functions to a separate source fileGravatar wm42014-07-05
|
* demux: move packet list functionsGravatar wm42014-07-05
| | | | Move them to the only place where they are used, demux_subreader.c.
* demux_lavf: for now, ignore the new libavformat image demuxersGravatar wm42014-07-05
| | | | | | | | | | | | Recently, libavformat added demuxers to open image files like normal demuxers. This is a good thing, but for now they interfere with the operation of demux_mf. Add them to the blacklist until there is a proper solution. (The list doesn't contain _all_ recognized image formats, just those that might interfere with demux_mf.) CC: @mpv-player/stable
* demux_lavf: support OTF fonts in MatroskaGravatar wm42014-07-05
| | | | Apparently it's FFmpeg only.
* demux_lavf: don't dump transport stream programsGravatar wm42014-07-05
| | | | Probably useless.
* demux_lavf: cleanup debug outputGravatar wm42014-07-05
| | | | Remove unnecessary prefix, remove some messages.
* demux_lavf: fix read_seek return valueGravatar wm42014-07-05
| | | | | | | This returned a stream error value directly to libavformat, which can't make sense. For example STREAM_ERROR (0) means success in libavformat error codes. (The meaning of the libavformat read_seek return value is underdocumented too.)
* demux_mkv: cosmeticsGravatar wm42014-07-05
|
* DOCS, client API: add mpv release versionsGravatar wm42014-07-05
| | | | | | | | The intention is to make it obvious which mpv releases certain changes will apply to. Also attempt to fix RST formatting of the list. This is not very proper, but probably good enough.
* Merge pull request #909 from Nyx0uf/patch-1Gravatar Stefano Pigozzi2014-07-05
|\ | | | | OS X bundle: Add more imported UTI
| * OS X bundle: Add more imported UTIGravatar Nyx0uf2014-07-04
|/ | | Not that there are widely used formats, but it will allow to play them directly from the Finder.
* stream_dvdnav: check the length of all titles with dvdnav://longestGravatar tholin2014-07-04
| | | | | | | | The last title was ignored before. CC: @mpv-player/stable Signed-off-by: wm4 <wm4@nowhere>
* stream_dvdnav: free pointer to priv->filename on closeGravatar tholin2014-07-04
| | | | | | CC: @mpv-player/stable Signed-off-by: wm4 <wm4@nowhere>
* stream_dvdnav: make sure seeking bounds are within rangeGravatar tholin2014-07-04
| | | | | | | | libdvdnav returns an error is the seek position is out of range. CC: @mpv-player/stable Signed-off-by: wm4 <wm4@nowhere>
* DOCS/client_api_examples: add a Qt exampleGravatar wm42014-07-04
| | | | | This is pretty dumb and extremely basic. The main purpose is demonstrating how to integrate mpv into the Qt GUI thread.
* client API: allow calling mpv_terminate_destroy(NULL)Gravatar wm42014-07-04
| | | | | | This is an oversight and a bug. CC: @mpv-player/stable
* x11: avoid obscure behavior when --wid is partially garbageGravatar wm42014-07-04
| | | | | | | | | | | Cast away the "extra" bits (since apparently Window/XID is always 32 bit unsigned). This is not striclty needed, because you're not supposed to pass garbage to --wid, just because the upper bits are possibly not interpreted. But if you do so, this change increases consistency in behavior and removes a strange behavior that was thought to be a bug. Also see github issue #906.
* ao_coreaudio: report hardware latency to ao_read_dataGravatar Stefano Pigozzi2014-07-03
| | | | | Commit a6a4cd2c88 added reporting of playout latency, this commit also adds support for reporting hardware and constant audio unit latency.
* TOOLS/zsh.pl: complete URL schemes based on --list-protocolsGravatar Alessandro Ghedini2014-07-03
|
* TOOLS/zsh.pl: sort options in reverse order by lengthGravatar Alessandro Ghedini2014-07-03
| | | | | This stops options that are prefixes of other options from blocking completion of values for the longer ones.
* TOOLS/zsh.pl: untabifyGravatar Philip Sequeira2014-07-03
|
* TOOLS/zsh.pl: fix _arguments lineGravatar Philip Sequeira2014-07-03
| | | | | | | | | Don't use _x_arguments, as we don't support X arguments. Get rid of -s, because we don't support multiple single-letter options in one argument. Add -S, because we ignore options after "--".
* TOOLS/zsh.pl: don't consume extra argumentsGravatar Philip Sequeira2014-07-03
| | | | | | | | | | | | Completion now uses "--opt=value" instead of "--opt value". Once the user presses space and starts a new argument, the option just completed is out of the picture, whether or not it was given an argument. This handles options with no arguments or optional arguments much better; previously, completing such an option would effectively disable completion for the next argument. Custom completed options such as "--ao" and friends will no longer claim to consume an extra argument.
* TOOLS/zsh.pl: escape all colons in option descriptionsGravatar Philip Sequeira2014-07-03
|
* command: include new "playback-time" property in update mechanismGravatar wm42014-07-03
|
* DOCS: add a file listing API changes for the client APIGravatar wm42014-07-03
|
* manpage: reflect new coreaudio changesGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: report latency more correctlyGravatar Stefano Pigozzi2014-07-02
| | | | | | | | | | Previous code was completly wrong. This still doesn't report the device latency, but we report the buffer latency (as before the AO refactoring) and the AudioUnit's latency (this is a new 'feature'). Apparently we can also report the device actual latency and we should also calculate the actual sample rate of the audio device instead of using the nominal sample rate, but I'll leave this for a later commit.
* cache_file: use unicode on windowsGravatar wm42014-07-02
| | | | This enables the MinGW Windows crap wrapper for fopen().
* ao_coreaudio: move channel mapping away from utilsGravatar Stefano Pigozzi2014-07-02
| | | | | Channel mapping functions are only used in the AUHAL based coreaudio, so move them there.
* ao_coreaudio: use mpv's internal pull APIGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: remove useless commentsGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: rename init_lpcm -> init_audiounitGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: fill asbd with an helper functionGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: split control to helper functionsGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: move device related functions to the new AOGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: remove useless call to print_asbdGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: move spdif code to a new AOGravatar Stefano Pigozzi2014-07-02
| | | | | | | | | | | | | | | | The mplayer1/2/mpv CoreAudio audio output historically contained both usage of AUHAL APIs (these go through the CoreAudio audio server) and the Device based APIs (used only for output of compressed formats in exclusive mode). The latter is a very unwieldy and low level API and pretty much forces us to write a lot of code for little workr. Also with the widespread of HDMI, the actual need for outputting compressed audio directly to the device is getting lower (it was very useful with S/PDIF for bandwidth constraints not allowing a number if channels transmitted in LPCM). Considering how invasive it is (uses hog/exclusive mode), the new AO (`ao_coreaudio_device`) is not going to be autoprobed but the user will have to select it.
* cache: clear DVD timestampsGravatar wm42014-07-02
| | | | | | | | | | | | When resizing the cache, the buffer for the DVD timestamps is initialized with 0. This causes the player to always return playback position 0 with any file format (not just DVD), and also makes all relative seeks relative to position 0. Fix this by clearing the timestamps explicitly. Closes #899. CC: @mpv-player/stable
* x11: clear window only on initial mapGravatar wm42014-07-02
| | | | | | | | | | | | | | | | | | | Apparently clearing on every map can cause problems with vdpau when switching virtual desktops and such. This was observed with at least XMonad and nvidia-340.17. It's not observed on some other setups without XMonad. It's not clear why this happens. Normally, the window background is not saved, so clearing should have no additional affect. It's a complete mystery. Possible, the use of legacy X drawing commands (used to clear the window) interferes with vdpau operation in non-trivial ways. Work this around by clearing on initial map only. This probably only hides the underlying issue, but good enough. Closes #897. CC: @mpv-player/stable
* command: remove some code duplication in cache propertiesGravatar wm42014-07-02
| | | | | | | This also means that the printed size is always rounded to KBs, because the cache properties are returned in KB. I think this doesn't matter much. But if it does, the cache properties should probably changed to return bytes in the first place.
* command: cache can actually have full-size 0Gravatar wm42014-07-02
| | | | Then it's simply empty.
* command: change cache perentage to float, add cache-free and cache-usedGravatar Andrey Morozov2014-07-02
|
* demux: drop AVI special codeGravatar wm42014-07-02
| | | | | | | I'm pretty sure libavformat does this automatically, and we don't have other demuxers where this could happen. Still, slightly "risky" - so let's see.
* demux_mkv: minor improvement to overflow checkGravatar wm42014-07-02
| | | | CC: @mpv-player/stable