diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-12 13:47:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-12 13:47:35 +0100 |
| commit | bdbfd6b08856a445446bfd845f1c43109d184250 (patch) | |
| tree | b894142ddd3e6dfc16c4b934e730f0ef9b518646 /src/lib/decoder.h | |
| parent | ad27e9acc3d99a29fdc358da62feb603983f8882 (diff) | |
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.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 8 |
1 files changed, 1 insertions, 7 deletions
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 |
