Skip to content

Commit

Permalink
fix osx qt4 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 10, 2015
1 parent aea998b commit 86c86cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/codec/video/VideoDecoderVDA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 27,6 @@
#include "QtAV/private/prepost.h"
#include "utils/OpenGLHelper.h"
#include <assert.h>
#include <CGLContext.h>
#include <CGLIOSurface.h>
#ifdef __cplusplus
extern "C" {
#endif //__cplusplus
Expand All @@ -53,7 51,8 @@ extern "C" {
namespace QtAV {

class VideoDecoderVDAPrivate;
class VideoDecoderVDA Q_DECL_FINAL : public VideoDecoderFFmpegHW
// qt4 moc can not correctly process Q_DECL_FINAL here
class VideoDecoderVDA : public VideoDecoderFFmpegHW
{
Q_OBJECT
DPTR_DECLARE_PRIVATE(VideoDecoderVDA)
Expand Down

0 comments on commit 86c86cf

Please sign in to comment.