ENH: Changed error message on start to notfound

This commit is contained in:
o-reo 2019-02-28 13:27:38 +01:00
parent 1bacf8237b
commit a407346053
2 changed files with 2 additions and 2 deletions

View file

@ -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(())

View file

@ -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(())