[Bug 772468] basesink: Don't nest prepare/render calls

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 5 18:56:57 UTC 2016


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

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 337004
  --> https://bugzilla.gnome.org/attachment.cgi?id=337004&action=edit
basesink: Don't nest prepare/render calls

When the first buffer arrives, we endup calling:

  ->prepare()
    ->prepare()
    ->preroll()
  ->render()

This will likely confuse any element using this method. With this patch,
we ensure the preroll take place before the first render prepare() is
called. This will result in:

  ->prepare()
  ->preroll()
  ->prepare()
  ->render()

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