gstreamer/playback/player
Víctor Manuel Jáquez Leal dbb0375bfe playback/player: don't unref a contained widget
In the GTK+ model, when a wiget is created, it is floating, thus
when it is added to a widget container, this container is the owner
of the widget.

The video_area widget is created in two different paths:

1\ when the renderer element is also a GTK+ widget and we are
   the owners.
2\ when the renderer element is an overlay an video area a new
   widget owned by the container.

In the first code path, there was a memory leak fixed on commit
f8d4796a, but it didn't consider the second path, leading to a
segmentation fault because the owner of the widget is not us.

This patch unrefs early the video area widget in the first path
avoiding to unref it twice in the second path.

https://bugzilla.gnome.org/show_bug.cgi?id=781904
2017-05-02 14:11:30 +03:00
..
android playback/player/android: Make plugin list in Android.mk easier to read 2017-04-03 13:23:50 +05:30
gst-play Add meson build system for playback/player/{gst-play,gtk} and network/http-launch 2016-08-26 19:02:24 +03:00
gtk playback/player: don't unref a contained widget 2017-05-02 14:11:30 +03:00
ios Add meson build system for playback/player/{gst-play,gtk} and network/http-launch 2016-08-26 19:02:24 +03:00
qt playback/player: qt: use QApplication instead of QGuiApplication 2017-04-27 12:27:49 +03:00
meson.build Add meson build system for playback/player/{gst-play,gtk} and network/http-launch 2016-08-26 19:02:24 +03:00