Don't call gst::init if initialized, add non-str pipeline support

This commit is contained in:
Vladimir Romashchenko 2024-09-19 21:18:18 -04:00
parent 11631efd12
commit 4400f3a7a1
No known key found for this signature in database
GPG key ID: E5B7EA4A9E1D48F4
3 changed files with 25 additions and 7 deletions

View file

@ -10,6 +10,7 @@
//! use iced_video_player::{Video, VideoPlayer};
//! use iced::{Sandbox, Element};
//!
//! # #![allow(clippy::needless_doctest_main)]
//! fn main() {
//! App::run(Default::default());
//! }