mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-15 05:35:30 +00:00
ENH: Changed error message on start to notfound
This commit is contained in:
parent
1bacf8237b
commit
a407346053
2 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ impl ObjectSubclass for NdiAudioSrc {
|
|||
|
||||
match settings.id_receiver {
|
||||
0 => Err(gst_error_msg!(
|
||||
gst::ResourceError::Settings,
|
||||
gst::ResourceError::NotFound,
|
||||
["Could not connect to this source"]
|
||||
)),
|
||||
_ => Ok(())
|
||||
|
|
|
@ -319,7 +319,7 @@ impl ObjectSubclass for NdiVideoSrc {
|
|||
// settings.id_receiver != 0
|
||||
match settings.id_receiver {
|
||||
0 => Err(gst_error_msg!(
|
||||
gst::ResourceError::Settings,
|
||||
gst::ResourceError::NotFound,
|
||||
["Could not connect to this source"]
|
||||
)),
|
||||
_ => Ok(())
|
||||
|
|
Loading…
Reference in a new issue