From bdbfd6b08856a445446bfd845f1c43109d184250 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 12 Jun 2015 13:47:35 +0100 Subject: Remove PassReason stuff. This feels wrong: it means that it is possible for FFmpegDecoder to discard packets. I can't see how this is ok in all cases: maybe we were lucky that it worked at all. --- src/lib/decoder.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index acc77a814..c5a359e1a 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -53,13 +53,7 @@ protected: */ virtual void seek (ContentTime time, bool accurate) = 0; - enum PassReason { - PASS_REASON_VIDEO, - PASS_REASON_AUDIO, - PASS_REASON_SUBTITLE - }; - - virtual bool pass (PassReason reason) = 0; + virtual bool pass () = 0; }; #endif -- cgit v1.2.3