Request a test frame for MMAL decoder
This commit is contained in:
parent
f9895c22b6
commit
4e936193c7
2 changed files with 8 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ public:
|
|||
virtual bool prepareDecoderContext(AVCodecContext* context) override;
|
||||
virtual void renderFrame(AVFrame* frame) override;
|
||||
virtual enum AVPixelFormat getPreferredPixelFormat(int videoFormat) override;
|
||||
virtual bool needsTestFrame() override;
|
||||
|
||||
private:
|
||||
static void InputPortCallback(MMAL_PORT_T* port, MMAL_BUFFER_HEADER_T* buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue