Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

GPU3: GPU export rendering off by default until it is faster (#30)

Manuel Camachoba403212f6d0
diff --git a/crates/export/src/lib.rs b/crates/export/src/lib.rs
index 81f924b76..a92978a04 100644
--- a/crates/export/src/lib.rs
+++ b/crates/export/src/lib.rs
@@ -458,7 +458,7 @@ impl Default for ExportSettings {
h264_level: None,
bitrate_mode: BitrateMode::default(),
hardware_encoding: HardwareEncoding::default(),
- gpu_rendering: GpuRendering::Auto,
+ gpu_rendering: GpuRendering::Off,
max_bitrate_kbps: None,
adaptive_bitrate: None,
keyframe_distance: None,
diff --git a/crates/export/src/settings.rs b/crates/export/src/settings.rs
index 71e77875c..87587ba4a 100644
--- a/crates/export/src/settings.rs
+++ b/crates/export/src/settings.rs
@@ -78,12 +78,12 @@ pub enum HardwareEncoding {
/// Whether the picture of an export may be composited on the GPU (`filmcraft-gpu`'s off-screen
/// compositor) instead of the CPU reference renderer. Auto = use the GPU when the app registered
/// a GPU frame renderer and the machine has an adapter; the CPU result is the fallback either
-/// way. Off = today's CPU behaviour exactly.
+/// way. Off = today's CPU behaviour exactly (default until GPU export is faster than CPU export).
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub enum GpuRendering {
- #[default]
Auto,
+ #[default]
Off,
}