mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-11 02:39:22 +00:00
rsfilesrc: Fix typo in previous commit
This commit is contained in:
parent
5b0d79bc73
commit
1f8465af66
|
@ -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::<gst_base::BaseSrc>().unwrap();
|
||||
|
||||
let res = match value.get::<String>() {
|
||||
|
@ -195,7 +195,7 @@ impl ObjectImpl for FileSrc {
|
|||
fn get_property(&self, _obj: &glib::Object, id: usize) -> Result<glib::Value, ()> {
|
||||
let prop = &PROPERTIES[id];
|
||||
match *prop {
|
||||
subclass::Property("name", ..) => {
|
||||
subclass::Property("location", ..) => {
|
||||
let settings = self.settings.lock().unwrap();
|
||||
let location = settings
|
||||
.location
|
||||
|
|
Loading…
Reference in a new issue