From 21866486bd207e7654a19ede7829bf5eb35b5475 Mon Sep 17 00:00:00 2001 From: Michael Dewberry <712405+Dewb@users.noreply.github.com> Date: Mon, 11 Aug 2025 19:07:45 -0400 Subject: [PATCH] Add videoflip filter to automatically handle orientation metadata --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1359422..76feab8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -350,7 +350,7 @@ impl App { gst::init().unwrap(); let pipeline = format!( - "playbin uri=\"{}\" video-sink=\"videoscale ! videoconvert ! appsink name=iced_video drop=true caps=video/x-raw,format=NV12,pixel-aspect-ratio=1/1\"", + "playbin uri=\"{}\" video-sink=\"videoscale ! videoconvert ! videoflip method=automatic ! appsink name=iced_video drop=true caps=video/x-raw,format=NV12,pixel-aspect-ratio=1/1\"", url.as_str() ); let pipeline = gst::parse::launch(pipeline.as_ref())