Repository navigation
Demo Seeking, Attempt 3 - #148
Conversation
heinrich5991
left a comment
There was a problem hiding this comment.
Looks very well-thought out. Thanks for the PR.
It'd be best if this wasn't a binary, but a test that was automatically run on changes, but I don't have a repository of demos right now and wouldn't know where to store them without bloating this git repository, so whatever. The binary is a good building block for such a test.
|
For now I only exposed |
|
ah, gotta rebase on master |
4a593ba to
d42055f
Compare
|
Fixed three inconsistencies:
|
|
imo this can be merged now, would also appreciate a crates.io bump. |
|
resolved the previous comments, will squash if nothing else comes up. I was wondering if the seek, stream_position methods should also return ReadError for consistency? They do only return io::Errors the way they work right now. |
You decide.
Yes, but me too.
Squash I guess. Thanks for bearing with me. |
|
I changed the return error type to always be |
|
Closes #140 |
Here I just went with the existing readers and added the required functionality.
I like the relatively small changes, and think this is the best solution for now, and also mergable.
In the interpreted reader interface I needed to expose if a tick chunk is marked as a keyframe. This is a breaking change sadly.
The only immediate change I would recommend alongside this one is to rename the
ddnetmodule to something else, as it is generic over the protocol.