basecamerasrc: Fix getting element implementing photography iface
This commit is contained in:
parent
0255584d90
commit
b5fdacc5c0
@ -123,7 +123,7 @@ gst_base_camera_src_get_photography (GstBaseCameraSrc * self)
|
||||
}
|
||||
|
||||
if (elem) {
|
||||
return GST_PHOTOGRAPHY (self);
|
||||
return GST_PHOTOGRAPHY (elem);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user