From: Carl Hetherington Date: Fri, 12 Jun 2015 23:50:30 +0000 (+0100) Subject: Update progress bar when finding subtitles in FFmpeg content. X-Git-Tag: v2.1.0~5 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=5019053ee0475b539341b74b30fd0c89a1918ef8;p=dcpomatic.git Update progress bar when finding subtitles in FFmpeg content. --- diff --git a/ChangeLog b/ChangeLog index c1ac5ff5e..b7234bc79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-06-13 Carl Hetherington + * Update progress bar (sort-of) when finding subtitles (#603). + * Make sure audio mapping view is scrollable when necessary (#597). 2015-06-12 Carl Hetherington diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index 5062ef0ca..f68c896db 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -77,6 +77,8 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr c, shared_ptrset_progress_unknown (); } + job->sub (_("Finding subtitles")); + /* Run through until we find: * - the first video. * - the first audio for each stream. @@ -92,6 +94,8 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr c, shared_ptrset_progress_unknown (); + AVCodecContext* context = _format_context->streams[_packet.stream_index]->codec; if (_packet.stream_index == _video_stream) {