尝试解决插件bug

This commit is contained in:
2026-01-10 18:56:58 +08:00
parent e37972b227
commit 4d393f3d23
24 changed files with 959 additions and 161 deletions
+5 -2
View File
@@ -37,15 +37,18 @@
namespace olive
{
namespace plugin{
namespace detail {
int BytesToPixels(int byte_linesize, const olive::VideoParams &params);
}
class PluginRenderer : public olive::OpenGLRenderer{
Q_OBJECT
public:
PluginRenderer(QObject *parent=nullptr):OpenGLRenderer(parent){};
virtual ~PluginRenderer() override{};
void AttachOutputTexture(olive::Texture *texture);
void AttachOutputTexture(olive::TexturePtr texture);
void DetachOutputTexture();
void RenderPlugin(TexturePtr src, olive::plugin::PluginJob& job,
olive::Texture *destination,
olive::TexturePtr destination,
olive::VideoParams destination_params,
bool clear_destination, bool interactive);