[Bug 793383] Crashing on iOS: [ALAssetRepresentation release]: message sent to deallocated instance, [GstAssetsLibrary .cxx_destruct] XCode 9.2, iOS 11.2 (15C107)
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 13 08:12:10 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793383
--- Comment #7 from Louis Le <lephihungch at gmail.com> ---
The tutorial running well in previous version (I cannot remember which version
is) but I encountered this issue in current version of XCode with GstPlayer and
gst_parse_launch("playbin",NULL).
The code I'm using:
#import <gst/player/player.h>
//ViewDidLoad
render = gst_player_video_overlay_video_renderer_new ((__bridge
gpointer)(video_view));
player = gst_player_new (render, NULL);
g_object_set (player, "uri", [uri UTF8String], NULL);
//viewDidDisappear
if (player)
{
gst_object_unref(player);
}
Is it my fault in code flow? What I should do to run the tutorial project with
current verion of XCode? Thanks for your help :(
(In reply to Sebastian Dröge (slomo) from comment #6)
> Not clear what the problem here is, it does not crash directly in the
> GStreamer code but somewhere in a C++ (?!) destructor.
>
> The code in question would be here in any case:
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/applemedia/
> iosassetsrc.m
>
> The destruction of the GstAssetsLibrary seems to be the problem somehow
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list