mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
libeplayer3: add hack to decrease libavcodec probe size
almost disable the libavcodec format probing when using
"myts://" instead of "file://" urls to improve startup speed
for timeshift etc
Origin commit data
------------------
Branch: master
Commit: 4d43213158
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-03 (Wed, 03 Oct 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -809,6 +809,8 @@ int container_ffmpeg_init(Context_t *context, char * filename)
|
||||
}
|
||||
|
||||
avContext->flags = AVFMT_FLAG_GENPTS;
|
||||
if (context->playback->noprobe)
|
||||
avContext->max_analyze_duration = 1;
|
||||
|
||||
ffmpeg_printf(20, "find_streaminfo\n");
|
||||
|
||||
|
Reference in New Issue
Block a user