summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-09 15:56:55 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-09 15:56:55 +0100
commitb5828ccf20a0e0c4365854ac19a05d5a4783e254 (patch)
tree338fd3dfc1b7f74edf4fb2615ed6d1136942f4d8 /src/lib/decoder.h
parent9b0d04f34424c9aeddaf07007838f2c8c0113093 (diff)
Make subtitle addition optional.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 7ca9bb1df..9a4c7695e 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -66,6 +66,7 @@ public:
/** @return format of audio samples */
virtual AVSampleFormat audio_sample_format () const = 0;
virtual int64_t audio_channel_layout () const = 0;
+ virtual bool has_subtitles () const = 0;
void process_begin ();
bool pass ();