Add videoflip filter to automatically handle orientation metadata
This commit is contained in:
parent
55654e1231
commit
21866486bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue