summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-23 16:12:14 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-23 16:12:14 +0100
commit526fd6de4c80a7ac9614a1cb0209efff7b171cd5 (patch)
treea6da82bdd59d98f19661ab1da2415cbc37353b0f /src/lib/decoder.h
parentf24452ee5fe7af655a16d4e1a3bb1c87a54596cc (diff)
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.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h8
1 files changed, 1 insertions, 7 deletions
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