summaryrefslogtreecommitdiffstats
path: root/misc/node.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: move some helper code from client.cwm42018-05-241-0/+52
| | | | | (Slightly oddly function names, because I want to avoid starting them with mpv_*, which is reserved for public API.)
* node: move a mpv_node helper from ipc.c to shared codewm42018-05-241-0/+13
| | | | This particular one is needed in a following commit.
* command: use mpv_node helpers instead of duplicated codewm42018-03-261-1/+4
| | | | | | They didn't exist yet when this code was added. Completely untested.
* 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".