Skip to content
Snippets Groups Projects
Commit b2efc99d authored by Yang Wang's avatar Yang Wang Committed by Andreas Traczyk
Browse files

avmodel: expose useAVframe, currentAVFrame on non-DBus platforms

Change-Id: Ia2714fb137b41566c653dbb1ec18e7b65e325084
parent 9033db9d
Branches
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ public:
*/
Frame currentFrame() const;
#if defined(ENABLE_LIBWRAP) || (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
/**
* @return current avframe
*/
......
......@@ -163,7 +163,7 @@ Renderer::currentFrame() const
return result;
}
#if defined(ENABLE_LIBWRAP) || (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
std::unique_ptr<AVFrame, void(*)(AVFrame*)>
Renderer::currentAVFrame() const
{
......
......@@ -98,7 +98,7 @@ public:
virtual QSize size () const;
virtual QMutex* mutex () const;
virtual ColorSpace colorSpace () const = 0;
#if defined(ENABLE_LIBWRAP) || (defined __APPLE__)
#if defined(ENABLE_LIBWRAP)
virtual std::unique_ptr<AVFrame, void(*)(AVFrame*)> currentAVFrame() const = 0;
#endif
void setSize(const QSize& size) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment