made some progress on my new canvas ui project!
+ resizable panels
+ pixel and percentage sizing options
+ button elements
+ gap elements for spacing
+ hidpi support
next steps:
- text elements
- scrollable layouts
- layouts with wrapping
@atriiy2 hmm, i haven't gotten that error at all during this project. are you talking about gstreamer by chance? because for this project i'm using mp4box.js and webcodecs, not gst
@atriiy2 u mean like when seeking outside of the buffered area? i just fetch the new segments, extract samples, decode, and replace the buffered frames. the 3 segments i keep loaded always surround the most recently requested timestamp so this doesn't happen during regular playback
@atriiy2 each of the videos has its own frame buffer containing the decoded previous, current, and next segments. whenever i need a specific frame i just binary search thru the buffer to find it. so all i have to do for frame-by-frame seeking is change the timestamp :D
@atriiy2 i remember struggling through the official docs when i was first getting started, having all this in one place will be really helpful to beginners. great article!
fill up the 3 gallon bucket
pour it into the 5 gallon bucket
fill up the 3 gallon bucket
pour it into the 5 gallon bucket (you have 1 gallon left over)
empty the 5 gallon bucket
pour the remaining gallon into the 5 gallon bucket
fill up the 3 gallon bucket
pour it into the 5 gallon bucket, now you have 4 in total
did i get it?