]> git.sesse.net Git - kdenlive/blobdiff - src/clipproperties.cpp
Workaround problems with clip transparency. Transparency is now achieved by inserting...
[kdenlive] / src / clipproperties.cpp
index 14903cec3edbdfc033092ffe6f876343ea4a4b66..f1187069e604f8cf0ed3fa914553153d0ccf429b 100644 (file)
@@ -94,6 +94,14 @@ ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidg
         m_view.clip_channels->setText(props.value("channels"));
 
     CLIPTYPE t = m_clip->clipType();
+    if (t != AUDIO && t != AV) {
+        m_view.clip_force_aindex->setEnabled(false);
+    }
+
+    if (t != VIDEO && t != AV) {
+        m_view.clip_force_vindex->setEnabled(false);
+    }
+
     if (t == IMAGE) {
         m_view.tabWidget->removeTab(SLIDETAB);
         m_view.tabWidget->removeTab(COLORTAB);