Skip to content

Commit

Permalink
fix color preview with GPU effects on
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed May 9, 2024
1 parent 58c5be5 commit 19593de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/videowidget.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*7
/*
* Copyright (c) 2011-2024 Meltytech, LLC
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -341,8 +341,7 @@ int VideoWidget::reconfigure(bool isMulti)
// Make an event handler for when a frame's image should be displayed
m_consumer->listen("consumer-frame-show", this, (mlt_listener) on_frame_show);
m_consumer->set("real_time", MLT.realTime());
m_consumer->set("mlt_image_format",
m_glslManager ? "rgba" : serviceName.startsWith("decklink") ? "yuv422p" : "yuv420p");
m_consumer->set("mlt_image_format", serviceName.startsWith("decklink") ? "yuv422p" : "yuv420p");
m_consumer->set("channels", property("audio_channels").toInt());
if (property("audio_channels").toInt() == 4) {
m_consumer->set("channel_layout", "quad");
Expand Down

0 comments on commit 19593de

Please sign in to comment.