diff options
Diffstat (limited to 'src/decoder/ffmpeg_decoder_plugin.c')
-rw-r--r-- | src/decoder/ffmpeg_decoder_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 1a1598f36..f8c9db700 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -447,7 +447,8 @@ ffmpeg_decode(struct decoder *decoder, struct input_stream *input) int64_t where = decoder_seek_where(decoder) * AV_TIME_BASE; - if (av_seek_frame(format_context, -1, where, 0) < 0) + if (av_seek_frame(format_context, -1, where, + AV_TIME_BASE) < 0) decoder_seek_error(decoder); else decoder_command_finished(decoder); |