gst_pipeline_get_bus() and gst_bin_get_by_interface() both
return references that need to be unreferenced after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=734527
gst_bus_set_sync_handler (bus, (GstBusSyncHandler) create_window, actor,
NULL);
+ gst_object_unref (bus);
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
gst_bus_set_sync_handler (bus, (GstBusSyncHandler) create_window, actor,
NULL);
+ gst_object_unref (bus);
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PLAYING);
GST_TYPE_VIDEO_OVERLAY));
gst_video_overlay_set_gtk_window (overlay, widget);
+ gst_object_unref (overlay);
return FALSE;
}