Skip to content
Snippets Groups Projects
Commit d9dd41da authored by Julian Rother's avatar Julian Rother
Browse files

Fixed last commit

parent ee20797c
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ int main(int argc, char *argv[]) ...@@ -329,7 +329,7 @@ int main(int argc, char *argv[])
progress = 0; progress = 0;
ping_job(jobid, "running", 0); ping_job(jobid, "running", 0);
while (!canceled && !av_read_frame(demux, &pkt)) while (!av_read_frame(demux, &pkt))
{ {
i = pkt.stream_index; i = pkt.stream_index;
_progress = av_rescale_q(pkt.pts, demux->streams[i]->time_base, AV_TIME_BASE_Q)*100/demux->duration; _progress = av_rescale_q(pkt.pts, demux->streams[i]->time_base, AV_TIME_BASE_Q)*100/demux->duration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment