aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/node.c
Commit message (Collapse)AuthorAge
* command: change demuxer-cache-state property to return multiple rangesGravatar wm42017-10-26
| | | | | | | | | | | | | | | | | | Even if the demuxer cache does not multiple ranges yet. This is to reduce the pain should caching of multiple ranges ever be implemented. Also change it from the sub properties stuff to return a mpv_node directly, which is less roundabout. Sub-property access won't work anymore, though. Remove the seekable-start/-end fields as well, as they're redundant with the ranges. All this would normally be considered an API change, but since it's been only a few days with no known users, change it immediately. This adds some node.c helpers as well, as the code would be too damn fugly otherwise.
* misc: add some annoying mpv_node helpersGravatar wm42016-08-28
Sigh. Some parts of mpv essentially duplicate this code (with varrying levels of triviality) - this can be fixed "later".