eplayer armbox: fix webtv (thx dbo)

Origin commit data
------------------
Branch: master
Commit: ddd9b1cc86
Author: TangoCash <eric@loxat.de>
Date: 2017-12-25 (Mon, 25 Dec 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-12-25 19:23:48 +01:00
parent b1d2cd7033
commit 794e1a2dfd
3 changed files with 19 additions and 4 deletions

View File

@@ -1520,6 +1520,7 @@ int32_t container_ffmpeg_init_av_context(Context_t *context, char *filename, int
}
avContextTab[AVIdx]->iformat->flags |= AVFMT_SEEK_TO_PTS;
avContextTab[AVIdx]->flags = AVFMT_FLAG_GENPTS;
printf("minimal Probe: %d\n", context->playback->noprobe);
if (context->playback->noprobe)
{
wrapped_set_max_analyze_duration(avContextTab[AVIdx], 1);