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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 25 07:42:07 UTC 2017


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

            Bug ID: 788116
           Summary: android: glimagesink/amcvideodec unable to retain and
                    save last-sample
    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: ---

I have a pipeline like this:

decoder ! glupload ! glocolorconvert ! glimagesink

to take a snapshot I get the last-sample from glimagesink and then save it as
jpeg with a pipeline like this:

appsrc ! gldownload ! videoconvert ! jpegenc ! filesink

the snapshot can be generated even after the decoding pipeline is finalized,
this should be ok since last-sample returns a reference to the sample and an
user can keep this reference until needed

this works fine with a sw decoder such as avdec_h264 but if I use an hw decoder
such as amcvideodec and you try to generate a snapshot after the decoding
pipeline is setted to NULL then the snapshot pipeline will hang after changing
state from NULL to READY, 

probably after the pipeline is finalized gldownload cannot get a context or
access to the glmemory. 

This seems a bug ot at least should be documented.

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