From d7e14062764e1bbe81a7a85e69d0233f371cbd59 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 14 Apr 2016 03:56:25 +0100 Subject: Fiddle with some subtitle methods. --- src/lib/ffmpeg_content.cc | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/lib/ffmpeg_content.cc') diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index dfeb2a0ad..463722778 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -355,30 +355,6 @@ FFmpegContent::text_subtitles_during (ContentTimePeriod period, bool starting) c return stream->text_subtitles_during (period, starting); } -bool -FFmpegContent::has_image_subtitles () const -{ - BOOST_FOREACH (shared_ptr i, subtitle_streams()) { - if (i->has_image_subtitles()) { - return true; - } - } - - return false; -} - -bool -FFmpegContent::has_text_subtitles () const -{ - BOOST_FOREACH (shared_ptr i, subtitle_streams()) { - if (i->has_text_subtitles()) { - return true; - } - } - - return false; -} - void FFmpegContent::set_default_colour_conversion () { -- cgit v1.2.3