Android 6.0 gstreamer 1.0: frame is not writable
Sebastian Dröge
sebastian at centricular.com
Sat Dec 19 02:18:36 PST 2015
On Sa, 2015-12-19 at 01:55 -0800, Gregoire Gentil wrote:
>
> > But for the actual problem it would be good to get some debug logs.
>
> [G2]. I don't want to have an infinite thread here but I do confirm
> that after upgrading everything to Android 6.0.1, NDK-r10e and
> gstreamer 1.6.1, if decoding is done in software, the memory frame is
> not writable and I need buffer = gst_buffer_make_writable(buffer); to
> avoid a memory crash. If decoding is done in hardware, the memory
> frame is writable,
You still didn't provide debug logs, but this specific problem is most
likely https://bugzilla.gnome.org/show_bug.cgi?id=740222
The only options you have here is between libav copying, or you doing
the copying if needed. You can't (in general) have writable frames
downstream of the libav decoders as they like to keep another reference
to the frames for constructing the next output frames (i.e. to use them
as reference frames).
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151219/5c4544a6/attachment.sig>
More information about the gstreamer-devel
mailing list