while taking a look into the GotoTime handling, i've recorginzed, that it is only capable to search for the next IntraFrame before the given time. This includes searching for an IntraFrame.
The two patches applied correct this behaviour, that the search for an IntraFrame time leads to the requested IntraFrame.
The first only corrects this behaviour.
The second corrects this behaviour and replace the IntraFrame search with the quick search algorithm, at least the part which covers the determination of the current frame and continuous with a linear search for the IntraFrame before.
DO NOT APPLY BOTH
I've tested the second one with a couple of values/combination and should work. Hope i have not missed something
Btw. was the behaviour expected, that GotoTime only covers the search for the next IntraFrame?