Fix render regression enforcing interlaced rendering (breaking MPEG-2)

parent c88fab3a
...@@ -1409,13 +1409,19 @@ void RenderWidget::generateRenderFiles(QDomDocument doc, const QString &playlist ...@@ -1409,13 +1409,19 @@ void RenderWidget::generateRenderFiles(QDomDocument doc, const QString &playlist
} }
// Adjust scanning // Adjust scanning
if (m_view.scanning_list->currentIndex() == 1) { switch (m_view.scanning_list->currentIndex()) {
consumer.setAttribute(QStringLiteral("progressive"), 1); case 1:
} else { consumer.setAttribute(QStringLiteral("progressive"), 1);
// Interlaced rendering break;
consumer.setAttribute(QStringLiteral("progressive"), 0); case 2:
// Adjust field order // Interlaced rendering
consumer.setAttribute(QStringLiteral("top_field_first"), m_view.field_order->currentIndex()); consumer.setAttribute(QStringLiteral("progressive"), 0);
// Adjust field order
consumer.setAttribute(QStringLiteral("top_field_first"), m_view.field_order->currentIndex());
break;
default:
// leave as is
break;
} }
// check if audio export is selected // check if audio export is selected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment