plugin: Do not use weak ref on importer

There is no good reason to keep using weak ref on importer within paintable object. Change that to a gst_object_ref which is faster.
This commit is contained in:
Rafał Dzięgiel
2022-05-18 18:28:20 +02:00
parent bb56efa705
commit 2b85afc03e
2 changed files with 14 additions and 7 deletions

View File

@@ -46,7 +46,8 @@ struct _GstClapperPaintable
GdkRGBA bg;
GWeakRef widget, importer;
GWeakRef widget;
GstClapperImporter *importer;
/* Sink properties */
gint par_n, par_d;