mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
wrappercamerabinsrc: unref request pads
Do not forget to unref output-selector requested pads
This commit is contained in:
parent
2bfd106ef6
commit
34b90db967
1 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,14 @@ gst_wrapper_camera_bin_src_dispose (GObject * object)
|
|||
{
|
||||
GstWrapperCameraBinSrc *self = GST_WRAPPER_CAMERA_BIN_SRC (object);
|
||||
|
||||
if (self->outsel_imgpad) {
|
||||
gst_object_unref (self->outsel_imgpad);
|
||||
self->outsel_imgpad = NULL;
|
||||
}
|
||||
if (self->outsel_vidpad) {
|
||||
gst_object_unref (self->outsel_vidpad);
|
||||
self->outsel_vidpad = NULL;
|
||||
}
|
||||
if (self->app_vid_src) {
|
||||
gst_object_unref (self->app_vid_src);
|
||||
self->app_vid_src = NULL;
|
||||
|
|
Loading…
Reference in a new issue