[Bug 596849] gnlcomposition: Allow low-memory usage

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 24 14:33:50 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=596849
  GStreamer | gnonlin | git

--- Comment #4 from Thibault Saunier <tsaunier at gnome.org> 2014-05-24 21:33:44 UTC ---
Created an attachment (id=277123)
 View: https://bugzilla.gnome.org/attachment.cgi?id=277123
 Review: https://bugzilla.gnome.org/review?bug=596849&attachment=277123

composition: Add a property defining deactivated elements state

In the composition many elements are not used, until now, they were
always set to the PAUSED state though it makes sense to be able to
do gapless playback it is sometimes not ideal to preserve memory
usage and it means the more children the composition has the more
threads are used and it is very simple to reach the kernel hard
limit number of threads. In order to avoid that to happen, we set
default state of unused thread to READY and we add a property to
the composition so that users can override that default behaviour.

+ Make sure we send "stream-start" again when changing our ghostpad to
avoid "Data flow before stream-start assertion"

+ Fix unit tests, do not check refcount when changing state as it can
vary.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list