libeplayer reverse play: experimental adjustment to find previous I-frame

This commit is contained in:
martii
2013-04-11 17:59:22 +02:00
committed by Stefan Seyfried
parent 9edd4277c3
commit d5b57e281d

View File

@@ -472,7 +472,11 @@ static void FFMPEGThread(Context_t *context) {
}
#ifdef MARTII
if((err = container_ffmpeg_seek_rel(context, lastSeek, lastPts, (float) context->playback->Speed * 15)) < 0)
#else
if((err = container_ffmpeg_seek_rel(context, lastSeek, lastPts, (float) context->playback->Speed)) < 0)
#endif
{
ffmpeg_err( "Error seeking\n");