[Bug 788280] New: glvideoflip/glimagesink: surface not reusable on android

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 28 10:06:30 UTC 2017


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

            Bug ID: 788280
           Summary: glvideoflip/glimagesink: surface not reusable on
                    android
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lists at svrinformatica.it
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 360588
  --> https://bugzilla.gnome.org/attachment.cgi?id=360588&action=edit
modified android tutorial 3 that shows the issue

On android if you have a pipeline like this:

videotestsrc ! glupload! glcolorconvert ! glvideoflip name=vflip ! glimagesink

you can set the pipeline to PLAYING->NULL->PLAYING with no issue until you
change video-direction on video-flip.

After changing video-direction if you set the pipeline to NULL and then to
PLAYING you'll get an error like this:

E/libEGL: eglCreateWindowSurface: native_window_api_connect (win=0xb39e1808)
failed (0xffffffea) (already connected to another API?)

this seems some sort of clenaup issue.

I attach a modified tutorial 3:

1) when you click on pause button the pipeline will be setted to NULL and
recreated
2) when you click on play button while the pipeline is already playing the
video will be flipped.

Please follow these steps to reproduce the issue with the modified tutorial 3:

1) start the app and click PLAY, this should work
2) stop the video and start it again using the play button. No video flip was
done, this should work
3) stop the video
4) start the video
5) click the play button again, the video direction will change
6) stop the video
7) try to start the video again, you should see the error

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