Commit cbd51efa authored by Julian Rother's avatar Julian Rother
Browse files

thumbnail: Disabled seeking in live streams (quick fix)

parent c3a428c5
Pipeline #215 passed with stage
in 7 minutes and 1 second
......@@ -76,7 +76,8 @@ int main(int argc, char *argv[])
job_failed("Writing temporary file failed: %s", av_err2str(err));
/* Create thumbnail */
av_seek_frame(demux, -1, (2L*demux->duration)/5L, 0);
if (!jlookup(argv[4], "srcurl"))
av_seek_frame(demux, -1, (2L*demux->duration)/5L, 0);
memset(&pkt, 0, sizeof(pkt));
frame = av_frame_alloc();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment