X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder.h;h=7559217eb13f914a2acd4f68a5b1407c6893705e;hb=4cb33e432c7070f59c3ee3fbeb0b5c8755bba3bd;hp=2285cf4f9694ecd4edc4c6e9ec6b2a8b209898d2;hpb=572f030509c2b0c1f662a54624ab0be6efdd9024;p=dcpomatic.git 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 ();