summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 2285cf4f9..7559217eb 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -71,6 +71,11 @@ public:
virtual int64_t audio_channel_layout () const = 0;
virtual bool has_subtitles () const = 0;
+ /** @return amount of extra unwanted audio at the start (or -ve for unwanted video) in milliseconds */
+ virtual int audio_to_discard () const {
+ return 0;
+ }
+
void process_begin ();
bool pass ();
void process_end ();