diff options
Diffstat (limited to 'utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs')
-rw-r--r-- | utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs b/utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs index 67500082e..688187d72 100644 --- a/utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs +++ b/utils/fallbackswitch/src/fallbacksrc/custom_source/imp.rs @@ -85,7 +85,7 @@ impl ObjectImpl for CustomSource { ) { match pspec.name() { "source" => { - let source = value.get::<gst::Element>().unwrap().unwrap(); + let source = value.get::<gst::Element>().unwrap(); self.source.set(source.clone()).unwrap(); obj.add(&source).unwrap(); } |