Allow custom pipelines, autodetect live sources

This commit is contained in:
Vladimir Romashchenko 2024-08-05 17:55:50 -04:00
parent 217fa7730a
commit be21d2a19b
No known key found for this signature in database
GPG key ID: E5B7EA4A9E1D48F4
5 changed files with 93 additions and 79 deletions

View file

@ -60,6 +60,8 @@ pub enum Error {
Bool(#[from] glib::BoolError),
#[error("failed to get the gstreamer bus")]
Bus,
#[error("failed to get AppSink element with name='{0}' from gstreamer pipeline")]
AppSink(String),
#[error("{0}")]
StateChange(#[from] gst::StateChangeError),
#[error("failed to cast gstreamer element")]