Draft: videodecoder: Refactor post-decode PTS/DTS recovery code

Closed Edward Hervey requested to merge bilboed/gstreamer:videodecoder-refactor-fix into main

The code was a bit hard to follow. Use clear/explicity variable names and comment a bit more on what is going on.

Also fold the double list iteration into a single one

Something feels wrong though

Merge request reports