mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-29 20:38:16 +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 {
|
match settings.id_receiver {
|
||||||
0 => Err(gst_error_msg!(
|
0 => Err(gst_error_msg!(
|
||||||
gst::ResourceError::Settings,
|
gst::ResourceError::NotFound,
|
||||||
["Could not connect to this source"]
|
["Could not connect to this source"]
|
||||||
)),
|
)),
|
||||||
_ => Ok(())
|
_ => Ok(())
|
||||||
|
|
|
@ -319,7 +319,7 @@ impl ObjectSubclass for NdiVideoSrc {
|
||||||
// settings.id_receiver != 0
|
// settings.id_receiver != 0
|
||||||
match settings.id_receiver {
|
match settings.id_receiver {
|
||||||
0 => Err(gst_error_msg!(
|
0 => Err(gst_error_msg!(
|
||||||
gst::ResourceError::Settings,
|
gst::ResourceError::NotFound,
|
||||||
["Could not connect to this source"]
|
["Could not connect to this source"]
|
||||||
)),
|
)),
|
||||||
_ => Ok(())
|
_ => Ok(())
|
||||||
|
|
Loading…
Reference in a new issue