]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/producer/video/video_decoder.h
[ffmpeg_producer] #518 Fixed bug where decoders sometimes requires more than one...
[casparcg] / modules / ffmpeg / producer / video / video_decoder.h
index d954dc05b05610a1d8b24d26b8cd03b7a75e573a..5947b8ea4b1ef88ea4fc67758d207bb3512a3aad 100644 (file)
@@ -42,11 +42,12 @@ class video_decoder : boost::noncopyable
 {
 public:
        explicit video_decoder(const spl::shared_ptr<AVFormatContext>& context);
-       
+
        bool                                            ready() const;
+       bool                                            empty() const;
        void                                            push(const std::shared_ptr<AVPacket>& packet);
        std::shared_ptr<AVFrame>        poll();
-       
+
        int                                                     width() const;
        int                                                     height() const;
 
@@ -61,4 +62,4 @@ private:
        spl::shared_ptr<implementation> impl_;
 };
 
-}}
\ No newline at end of file
+}}