databrary / datavyu-ffmpegplugin

A Java Media Player based on FFmpeg and SDL2
GNU General Public License v3.0
13 stars 4 forks source link

[FFmpeg] Disable step to next frame when seeking backward (Only for backward playback) #180

Closed TheoWolf closed 5 years ago

TheoWolf commented 5 years ago

The current behavior of the FFmpeg plugin is stepping to the next frame after a seek, this will ensure an accurate seek and display the correct frame, even if this behavior is totally fine it might cause stuttering during backward playback in Datavyu. In order to hide the stuttering, we might remove stepping to the next frames after seeks when Datavyu is requesting a backward playback (fake playback) Note that the fix for the backward playback problem needs to be fixed by implementing a reversed playback.