From 526fd6de4c80a7ac9614a1cb0209efff7b171cd5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 23 Oct 2015 16:12:14 +0100 Subject: Revert "Avoid decoding other packets when looking for subs." This reverts commit 9e025d3f85f9d6d855b3d5e6c90bca0eac3a3d49. It causes corruption in prophet_clip.xml for reasons that are not yet known. --- 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 9e5573662..8378373c6 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -51,13 +51,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) = 0; + virtual bool pass () = 0; }; #endif -- cgit v1.2.3