aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* demux: merge functionsGravatar wm42013-07-08
|
* demux: remove unused functionGravatar wm42013-07-08
|
* demux: remove video_read_propertiesGravatar wm42013-07-08
|
* demux: remove some old stream header functionsGravatar wm42013-07-08
|
* demux: remove audio parserGravatar wm42013-07-08
| | | | | | | | | | | The audio parser was needed only by the "old" demuxers, and demux_rawaudio. All other demuxers output already parsed packets. demux_rawaudio is usually for raw audio, so using a parser with it doesn't usually make sense. But you can also force it to read compressed formats with fixed packet sizes, in which case the parser would have been used. This use case is probably broken now, but you will be able to do the same thing with libavformat demuxers.
* Remove old demuxersGravatar wm42013-07-07
| | | | | | | | | | Delete demux_avi, demux_asf, demux_mpg, demux_ts. libavformat does better than them (except in rare corner cases), and the demuxers have a bad influence on the rest of the code. Often they don't output proper packets, and require additional audio and video parsing. Most work only in --no-correct-pts mode. Remove them to facilitate further cleanups.
* stream: unbreak streams with large sector sizes (stream_cdda)Gravatar wm42013-07-07
| | | | | | | Commit 7b16d4b changed some stream implementations to check the buffer size passed to them. This made stream_cdda stop working, because the default buffer size is smaller than the CDIO frame size. So pass the sector size instead of the (arbitrary) default buffer size.
* osdep: remove unused mmap compatibility hacksGravatar wm42013-07-07
| | | | | | | Not sure how this worked. Only af_export.c and tvi_v4l2.c were using mmap, but they didn't include osdep/mmap.h or mmap_anon.h. In any case, we trust that the target system is sufficiently POSIX compliant if mmap is actually defined (as checked by configure).
* configure: simplify arch macrosGravatar wm42013-07-07
|
* configure: prune some more crapGravatar wm42013-07-07
| | | | All of the removed lines are hopefully useless and didn't do anything.
* stream: don't treat position 0 speciallyGravatar wm42013-07-07
| | | | | | | | | Seeking to position 0 meant to try reconnecting with some streams, actually just the internal http implementation. This has been removed, so we don't need the special handling anymore. This means we don't have to be stuck in a retry loop if the stream doesn't even support reconnect.
* Remove some leftovers from network removalGravatar wm42013-07-07
| | | | | | | | stream_vstream.c in particular was actually dependent on the network code, and didn't compile anymore. Cleanup the protocol list in mpv.rst, and add some missing ones supported by libavformat to stream_lavf.c.
* stream: remove weird STREAMTYPE_STREAM special handlingGravatar wm42013-07-07
| | | | | | | | | This was an old leftover from an earlier cleanup (which happened in 2003), and which used "special" stuff for streams that could be only forward-seeked. Also, don't add mode flags to s->flags; they're supposed to be in s->mode instead.
* stream: re-add accidentally removed seek callGravatar wm42013-07-07
| | | | | | | This was under CONFIG_NETWORKING, so in theory it should have been save to remove. But actually this disables forward skipping when reading from a pipe. (Still a questionable feature, because it doesn't behave well with libavformat - but it was not supposed to be changed.)
* manpage: fix section headingsGravatar Martin Herkt2013-07-07
|
* Remove internal network supportGravatar wm42013-07-07
| | | | | | | | | | | This commit removes the "old" networking code in favor of libavformat's code. The code was still used for mp_http, udp, ftp, cddb. http has been mapped to libavformat's http support since approximately 6 months ago. udp and ftp have support in ffmpeg (though ftp was added only last month). cddb support is removed with this commit - it's probably not important and rarely used if at all, so we don't care about it.
* core: make network options available even if old net code is disabledGravatar wm42013-07-07
| | | | Preparation for removing the old network code.
* ao_jack: allow more control about channel layoutsGravatar wm42013-07-07
|
* ao_jack: increase buffer size, always round up buffer sizeGravatar wm42013-07-06
| | | | | This should help with github issue #128, which reported stuttering distorted sound with 6 channel audio, but not with 2 channels.
* configure: rename --enable/disable-libquvi to --enable/disable-libquvi4Gravatar wm42013-07-05
| | | | | | | --disable-libquvi creates the impression that it disables libquvi 0.9 as well. It doesn't, because it refers to libquvi 0.4, and 0.4 and 0.9 are practically completely different libraries. Make this more explicit by renaming the switch to include the "4" version number.
* dither: don't use long doubleGravatar wm42013-07-05
| | | | | | | | | | This fixes compilation with broken libcs, like on Cygwin. C99 absolutely requires long double and associated functions like expl, even if long double is double. But newlib (used by cygwin) omits declaration for these if long double is equivalent to double. The extra precision is not needed here, so remove it to make life easier for the single person using mpv with cygwin.
* playlist: don't add entries in reverseGravatar wm42013-07-05
| | | | | | | | The entries were always added after the insertion point - but that means the entries are appended in reverse order. So update the insertion point on each entry. Regression introduced by commit 5f664d7.
* stream: make eof flag more consistentGravatar wm42013-07-04
| | | | | | When reading something successfully, the eof flag should never be 1, so clear it in these situations. The eof flag will be set properly on the next read call.
* core: remove mp_fifo leftoversGravatar wm42013-07-04
|
* wayland: remove mp_fifo headerGravatar Alexander Preisinger2013-07-03
|
* cocoa: remove usage of mp_fifoGravatar Stefano Pigozzi2013-07-03
| | | | | | Update Cocoa parts to remove usage of the mp_fifo internal API to send events to the core and use the input context directly. This is to follow commits the work in commits 70a8079c and d603e73c.
* wayland: fix typoGravatar Alexander Preisinger2013-07-03
|
* wayland: remove unused membersGravatar Alexander Preisinger2013-07-03
|
* wayland: remove mp_fifoGravatar Alexander Preisinger2013-07-02
|
* wayland: implement MOUSE_LEAVEGravatar Alexander Preisinger2013-07-02
|
* core: cleanup more mp_fifo leftoversGravatar wm42013-07-02
| | | | Now only the OSX and Wayland parts are using this.
* core: remove mp_fifo indirectionGravatar wm42013-07-02
| | | | | | | | | | For some reason mp_fifo specifically handled double clicks, and other than that was a pointless wrapper around input.c functionality. Move the double click handling into input.c, and get rid of mp_fifo. Add some compatibility wrappers, because so much VO code uses these functions. Where struct mp_fifo is still used it's just a casted struct input_ctx.
* command: add some playlist manipulation commandsGravatar wm42013-07-02
| | | | playlist_remove and playlist_move.
* stream_lavf: request and read streamcast/ICY metadataGravatar wm42013-07-02
| | | | Requires recent ffmpeg git, otherwise will do nothing.
* core: update metadata during playback, allow streams to export metadataGravatar wm42013-07-02
| | | | | | | STREAM_CTRL_GET_METADATA will be used to poll for streamcast metadata. Also add DEMUXER_CTRL_UPDATE_INFO, which could in theory be used by demux_lavf.c. (Unfortunately, libavformat is too crappy to read metadata mid-stream for mp3 or ogg, so we don't implement it.)
* cache: fix per-block metadata memory leakGravatar wm42013-07-02
|
* input: require VOs to send key up events, redo input key lookupGravatar wm42013-07-02
| | | | | | | | | | | | | | Making key up events implicit was sort-of a nice idea, but it's too tricky and unreliable and makes the key lookup code (interpret_keys()) hard to reason about. See e.g. previous commit for subtle bugs and issues this caused. Make key-up events explicit instead. Add key up events to all VOs. Any time MP_KEY_STATE_DOWN is used, the matching key up event must use MP_KEY_STATE_UP. Rewrite the key lookup code. It should be simpler and more robust now. (Even though the LOC increases, because the new code is less "compact".)
* input: fix behavior if there are actually key up eventsGravatar wm42013-07-02
| | | | | | | | | Wayland is the only backend that actually sends per-key key up events (the X11 one just sends MP_INPUT_RELEASE_ALL for simplicity). Handling was broken with Wayland, and each key event was interpreted twice, once on key down and once on key up. This commit should fix it.
* demux_mkv: pass extradata for opusGravatar wm42013-07-01
| | | | Fixes playing 5.1 opus audio tracks.
* input: don't ignore press-only mouse button eventsGravatar wm42013-06-30
| | | | | | | | Before this commit, only mouse events with both down and up events were processed. This caused a regression with ignoring mouse wheel events in cocoa, because these don't distinguish between up and down. Regression caused by 5b38a52.
* Merge pull request #124 from rossy2401/w32-display-requiredGravatar Martin Herkt2013-06-30
|\ | | | | Prevent display power management in Windows
| * w32_common: prevent display power managementGravatar James Ross-Gowan2013-06-30
|/ | | | | | | | Handling SC_MONITORPOWER doesn't seem to prevent the screen from dimming. The recommended way to do this in Windows XP and Vista is to call SetThreadExecutionState with ES_DISPLAY_REQUIRED. Windows 7 also has the PowerCreateRequest/PowerSetRequest/PowerClearRequest APIs but they're probably too complicated for this task.
* osxbundle: suggest some ways to correct missing dependenciesGravatar Stefano Pigozzi2013-06-30
| | | | | Hopefully this can give some more clues to users about what broke if they find themselves in this situation.
* sd_lavc: respect forced subs only setting for DVD subsGravatar wm42013-06-29
| | | | | Like the old spudec.c code did. Untested, I (probably) don't have a sample with subtitles that have this flag set.
* sd_ass: convert pts to integer for get_text()Gravatar wm42013-06-29
| | | | Gives more consistent rounding, which makes sub_step behave better.
* dec_sub: introduce sub_control(), use it for sub_stepGravatar wm42013-06-29
| | | | | | | This means the direct libass usage can be removed from command.c, and no weird hacks for retrieving the ASS_Track are needed. Also fix a bug when using this feature with ordered chapters.
* command: redraw subs if sub-delay is changedGravatar wm42013-06-29
| | | | | Though in practice this probably happened anyway, because OSD was redrawn.
* sub: update subtitle time offset even if pausedGravatar wm42013-06-29
| | | | | | This was changed as part of commit b44202b as an intended simplification, but it's actually nicer to have the subtitles update immediately even if paused.
* input: store number of binds, instead of using 0-terminationGravatar wm42013-06-29
|
* input: store number of keys, instead of using 0-terminationGravatar wm42013-06-29
|