diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-13 00:50:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-13 00:50:30 +0100 |
| commit | 5019053ee0475b539341b74b30fd0c89a1918ef8 (patch) | |
| tree | ed3972dfea170f2ef9c35894cd063fb9c501e4bc /src/lib | |
| parent | 80ca93365c7ac4194c2adc18947dbe5d1a42252a (diff) | |
Update progress bar when finding subtitles in FFmpeg content.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |
