From 1f8465af6604a5ac4c7abdacf0e49459f63d25e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 19 Dec 2018 01:18:41 +0200 Subject: [PATCH] rsfilesrc: Fix typo in previous commit --- gst-plugin-file/src/filesrc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-plugin-file/src/filesrc.rs b/gst-plugin-file/src/filesrc.rs index 40395d04..cc63affd 100644 --- a/gst-plugin-file/src/filesrc.rs +++ b/gst-plugin-file/src/filesrc.rs @@ -170,7 +170,7 @@ impl ObjectImpl for FileSrc { fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) { let prop = &PROPERTIES[id]; match *prop { - subclass::Property("name", ..) => { + subclass::Property("location", ..) => { let element = obj.downcast_ref::().unwrap(); let res = match value.get::() { @@ -195,7 +195,7 @@ impl ObjectImpl for FileSrc { fn get_property(&self, _obj: &glib::Object, id: usize) -> Result { let prop = &PROPERTIES[id]; match *prop { - subclass::Property("name", ..) => { + subclass::Property("location", ..) => { let settings = self.settings.lock().unwrap(); let location = settings .location