refactor: move PlayFlags defaults into Playbin3 and clean up unused prelude imports
Some checks failed
build / checks-matrix (push) Has been cancelled
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-12-26 10:39:00 +05:30
parent a7ffa69326
commit fc9555873b
7 changed files with 17 additions and 21 deletions

View File

@@ -16,7 +16,6 @@ impl AppSink {
}
pub fn new(name: impl AsRef<str>) -> Result<Self> {
use gstreamer::prelude::*;
let inner = gstreamer::ElementFactory::make("appsink")
.name(name.as_ref())
.build()
@@ -133,7 +132,7 @@ fn test_appsink() {
.build(),
);
let mut video_sink = video_convert
let video_sink = video_convert
.link(&appsink)
.expect("Link videoconvert to appsink");