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