forked from wang-bin/QtAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
widgets: build error. remove internal header. move id to avwidgets
id in avwidgets ensures app will link to qtavwidgets
- Loading branch information
Showing
23 changed files
with
67 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
Simple Player: this file is part of QtAV examples | ||
Copyright (C) 2012-2013 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -28,7 +28,7 @@ | |
#include <QMessageBox> | ||
|
||
#include <QtAV/AVPlayer.h> | ||
#include <QtAV/VideoRendererTypes.h> | ||
#include <QtAVWidgets/QtAVWidgets.h> | ||
#include "SimpleFilter.h" | ||
|
||
using namespace QtAV; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
VideoGroup: this file is part of QtAV examples | ||
Copyright (C) 2012-2013 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -26,7 +26,7 @@ | |
#include <QGridLayout> | ||
#include <QtCore/QUrl> | ||
#include <QtAV/AudioOutput.h> | ||
#include <QtAV/VideoRendererTypes.h> | ||
#include <QtAVWidgets/QtAVWidgets.h> | ||
|
||
using namespace QtAV; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
VideoWall: this file is part of QtAV examples | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -31,7 +31,7 @@ | |
#include <QMimeData> | ||
#include <QtCore/QUrl> | ||
#include <QtAV/AudioOutput.h> | ||
#include <QtAV/VideoRendererTypes.h> | ||
#include <QtAVWidgets/QtAVWidgets.h> | ||
|
||
using namespace QtAV; | ||
const int kSyncInterval = 2000; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2014 Wang Bin <[email protected]> | ||
Copyright (C) 2014-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -55,6 +55,8 @@ class Q_AV_EXPORT VideoOutput : public QObject, public VideoRenderer | |
* Create a renderer with given rendererId. MUST check VideoOutput::isAvailable() later! | ||
*/ | ||
VideoOutput(VideoRendererId rendererId, QObject *parent = 0); | ||
/// rendererIds: an array ends with 0 | ||
VideoOutput(VideoRendererId* rendererIds, QObject *parent = 0); | ||
~VideoOutput(); | ||
VideoRendererId id() const; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
VideoRendererTypes: type id and manually id register function | ||
Copyright (C) 2013 Wang Bin <[email protected]> | ||
Copyright (C) 2013-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -28,15 +28,7 @@ namespace QtAV { | |
|
||
//Q_AV_EXPORT(dllexport/import) is needed if used out of the library | ||
//TODO graphics item? | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_Widget; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_GraphicsItem; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_GLWidget; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_GDI; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_Direct2D; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_XV; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_GLWidget2; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_OpenGLWindow; | ||
extern Q_AV_EXPORT VideoRendererId VideoRendererId_OpenGLWidget; | ||
|
||
Q_AV_EXPORT void VideoRenderer_RegisterAll(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -43,7 +43,6 @@ | |
//performance: http://msdn.microsoft.com/en-us/library/windows/desktop/dd372260(v=vs.85).aspx | ||
//vlc is helpful | ||
//layer(opacity): http://www.cnblogs.com/graphics/archive/2013/04/15/2781969.html | ||
#include "utils/Logger.h" | ||
|
||
namespace QtAV { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -26,7 +26,6 @@ | |
#include <gdiplus.h> | ||
#include <QResizeEvent> | ||
#include "QtAV/private/prepost.h" | ||
#include "utils/Logger.h" | ||
|
||
#define USE_GRAPHICS 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -44,7 +44,6 @@ | |
|
||
#include "QtAV/ColorTransform.h" | ||
#include "QtAV/FilterContext.h" | ||
#include "utils/Logger.h" | ||
|
||
#define UPLOAD_ROI 0 | ||
#define ROI_TEXCOORDS 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -31,7 +31,6 @@ | |
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) | ||
#include <QtGui/QSurface> | ||
#endif | ||
#include "utils/Logger.h" | ||
|
||
namespace QtAV { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2014 Wang Bin <[email protected]> | ||
Copyright (C) 2014-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -22,7 +22,6 @@ | |
#include "QtAV/OpenGLWidgetRenderer.h" | ||
#include "QtAV/private/OpenGLRendererBase_p.h" | ||
#include <QResizeEvent> | ||
#include "utils/Logger.h" | ||
|
||
namespace QtAV { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -26,7 +26,6 @@ | |
#include <QApplication> | ||
#include <QResizeEvent> | ||
#include "QtAV/Filter.h" | ||
#include "utils/Logger.h" | ||
|
||
namespace QtAV { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/****************************************************************************** | ||
QtAV: Media play library based on Qt and FFmpeg | ||
Copyright (C) 2012-2014 Wang Bin <[email protected]> | ||
Copyright (C) 2012-2015 Wang Bin <[email protected]> | ||
* This file is part of QtAV | ||
|
@@ -34,8 +34,6 @@ | |
#include <X11/extensions/Xvlib.h> | ||
#include "QtAV/private/prepost.h" | ||
|
||
#include "utils/Logger.h" | ||
|
||
//http://huangbster.i.sohu.com/blog/view/256490057.htm | ||
|
||
namespace QtAV { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.