Skip to content

Commit

Permalink
fixed bug introduced in b4f3e5b
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Apr 15, 2024
1 parent da099a0 commit 5953934
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/filters/ff_dmx.c
Expand Up @@ -1080,6 +1080,9 @@ GF_Err ffdmx_init_common(GF_Filter *filter, GF_FFDemuxCtx *ctx, u32 grab_type)
if ((ctx->demuxer->iformat->flags & AVFMT_SEEK_TO_PTS)
#if (LIBAVFORMAT_VERSION_MAJOR < 59)
|| ctx->demuxer->iformat->read_seek
#else
|| (ctx->demuxer->iformat->flags & AVFMT_GENERIC_INDEX)
|| !(ctx->demuxer->iformat->flags & AVFMT_NOBINSEARCH)
#endif
) {
gf_filter_pid_set_property(pid, GF_PROP_PID_PLAYBACK_MODE, &PROP_UINT(GF_PLAYBACK_MODE_FASTFORWARD ) );
Expand Down
2 changes: 1 addition & 1 deletion testsuite

0 comments on commit 5953934

Please sign in to comment.