basecamerasrc: Fix getting element implementing photography iface

This commit is contained in:
Lasse Laukkanen 2011-02-08 15:51:42 +02:00 committed by Thiago Santos
parent 0255584d90
commit b5fdacc5c0

View file

@ -123,7 +123,7 @@ gst_base_camera_src_get_photography (GstBaseCameraSrc * self)
}
if (elem) {
return GST_PHOTOGRAPHY (self);
return GST_PHOTOGRAPHY (elem);
}
return NULL;