diff options
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index f98c478e7..06154cc8c 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -67,7 +67,7 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c, shared_ptr<Jo _audio_streams.push_back ( shared_ptr<FFmpegAudioStream> ( new FFmpegAudioStream ( - audio_stream_name (s), + stream_name (s), s->id, s->codec->sample_rate, (double (_format_context->duration) / AV_TIME_BASE) * s->codec->sample_rate, @@ -346,22 +346,6 @@ FFmpegExaminer::sample_aspect_ratio () const } string -FFmpegExaminer::audio_stream_name (AVStream* s) const -{ - SafeStringStream n; - - n << stream_name (s); - - if (!n.str().empty()) { - n << "; "; - } - - n << s->codec->channels << " channels"; - - return n.str (); -} - -string FFmpegExaminer::subtitle_stream_name (AVStream* s) const { SafeStringStream n; |
