summaryrefslogtreecommitdiffstats
path: root/misc/node.c
Commit message (Collapse)AuthorAgeFilesLines
* command: change demuxer-cache-state property to return multiple rangeswm42017-10-261-0/+15
| | | | | | | | | | | | | | | | | | 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 helperswm42016-08-281-0/+65
Sigh. Some parts of mpv essentially duplicate this code (with varrying levels of triviality) - this can be fixed "later".