decoder: optimize and clean decode_step() up.
Avoid usage of goto. Simplify decode_step() process to first accumulate all pending buffers into the GstAdapter, and then parse and decode units from that input adapter. Stop the process once a frame is fully decoded or an error occurred.
Showing
Please register or sign in to comment