diff options
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index 4322c401d..fb133d108 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -41,7 +41,13 @@ public: ~Butler (); void seek (DCPTime position, bool accurate); - std::pair<boost::shared_ptr<PlayerVideo>, DCPTime> get_video (); + + enum Error { + NONE, + AGAIN + }; + + std::pair<boost::shared_ptr<PlayerVideo>, DCPTime> get_video (Error* e = 0); boost::optional<DCPTime> get_audio (float* out, Frame frames); boost::optional<TextRingBuffers::Data> get_closed_caption (); |
