diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2015-06-13 Carl Hetherington <cth@carlh.net> + * Update progress bar (sort-of) when finding subtitles (#603). + * Make sure audio mapping view is scrollable when necessary (#597). 2015-06-12 Carl Hetherington <cth@carlh.net> 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<const FFmpegContent> c, shared_ptr<Jo job->set_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<const FFmpegContent> c, shared_ptr<Jo break; } + job->set_progress_unknown (); + AVCodecContext* context = _format_context->streams[_packet.stream_index]->codec; if (_packet.stream_index == _video_stream) { |
