[Bug 788116] android: glimagesink/amcvideodec unable to retain and save last-sample

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 25 17:14:58 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=788116

--- Comment #3 from Nicola <lists at svrinformatica.it> ---
I added the code to share the gl context to my app based on this:

http://ystreet00.blogspot.it/2015/09/gstreamer-16-and-opengl-contexts.html

and tested on linux, it works as with no context sharing

unluckily after adding gstreamer-gl-1.0 deps my android project it does not
compile anymore

 In file included from
/home/nicola/gst-android/armv7/include/gstreamer-1.0/gst/gl/gstglapi.h:81:0,
                   from
/home/nicola/gst-android/armv7/include/gstreamer-1.0/gst/gl/gstgl_fwd.h:26,
                   from
/home/nicola/gst-android/armv7/include/gstreamer-1.0/gst/gl/gl.h:29,
                   from
/home/nicola/gst-android/armv7/include/gstreamer-1.0/gst/gl/gstglcontext.h:26,
                   from
/home/nicola/AndroidStudioProjects/MediaLibrary/app/src/main/jni/media-player.h:6,
                   from
/home/nicola/AndroidStudioProjects/MediaLibrary/app/src/main/jni/media-manager.c:3:
 
/home/nicola/gst-android/armv7/include/gstreamer-1.0/gst/gl/glprototypes/gstgl_compat.h:40:18:
error: conflicting types for 'GLsync'
   typedef gpointer GLsync;

I'll retry with an older ndk or I'll download the sample to cpu before closing
the pipeline as workaround

-- 
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