[Bug 768852] New: [appsink] add sample/preroll pull timeout

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 15 16:42:08 UTC 2016


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

            Bug ID: 768852
           Summary: [appsink] add sample/preroll pull timeout
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: joanpau.beltran at socib.cat
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 331603
  --> https://bugzilla.gnome.org/attachment.cgi?id=331603&action=edit
[appsink] add sample/preroll pull timeout

The _pull_sample and _pull_preroll functions block until
a sample is available, EOS or the pipeline is not in PLAYING state
(returning null in the last two cases).

Add similar functions _try_pull_sample and try_pull_preroll with a timeout
argument to specify the maximum amount of time to wait for a new sample.
To avoid code duplication, wait forever if the timeout GST_CLOCK_TIME_NONE,
and use to implement  _pull_sample/_pull_preroll with the original behavior.
Add also corresponding signal actions try-pull-sample and try-pull-preroll.

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