summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-14 03:56:25 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commitd7e14062764e1bbe81a7a85e69d0233f371cbd59 (patch)
tree72f9cea4055badd267a3e44faf6cba8fbb952027 /src/lib/ffmpeg_content.cc
parent150f708d27b25d5b5d4e486d03c5bc4078027997 (diff)
Fiddle with some subtitle methods.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc24
1 files changed, 0 insertions, 24 deletions
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<FFmpegSubtitleStream> i, subtitle_streams()) {
- if (i->has_image_subtitles()) {
- return true;
- }
- }
-
- return false;
-}
-
-bool
-FFmpegContent::has_text_subtitles () const
-{
- BOOST_FOREACH (shared_ptr<FFmpegSubtitleStream> i, subtitle_streams()) {
- if (i->has_text_subtitles()) {
- return true;
- }
- }
-
- return false;
-}
-
void
FFmpegContent::set_default_colour_conversion ()
{