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:
Stefan Seyfried
2012-10-03 23:22:52 +02:00
parent c80a8b39a9
commit 1f2ade42c5
3 changed files with 11 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ typedef struct PlaybackHandler_s {
int (* Command) (/*Context_t*/void *, PlaybackCmd_t, void *);
char * uri;
off_t size;
unsigned char noprobe; /* hack: only minimal probing in av_find_stream_info */
} PlaybackHandler_t;
#endif