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