refactor: move PlayFlags defaults into Playbin3 and clean up unused prelude imports
This commit is contained in:
@@ -8,7 +8,6 @@ impl Sink for AutoVideoSink {}
|
||||
|
||||
impl AutoVideoSink {
|
||||
pub fn new(name: impl AsRef<str>) -> Result<Self> {
|
||||
use gstreamer::prelude::*;
|
||||
let element = gstreamer::ElementFactory::make("autovideosink")
|
||||
.name(name.as_ref())
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user