Commit d9dd41da authored by Julian Rother's avatar Julian Rother

Fixed last commit

parent ee20797c
......@@ -329,7 +329,7 @@ int main(int argc, char *argv[])
progress = 0;
ping_job(jobid, "running", 0);
while (!canceled && !av_read_frame(demux, &pkt))
while (!av_read_frame(demux, &pkt))
{
i = pkt.stream_index;
_progress = av_rescale_q(pkt.pts, demux->streams[i]->time_base, AV_TIME_BASE_Q)*100/demux->duration;
......
Markdown is supported
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