[Bug 747517] appsrc: negotiates twice if caps are changed before pipeline starts

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 18 03:28:15 PDT 2015


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

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Created attachment 303514
  --> https://bugzilla.gnome.org/attachment.cgi?id=303514&action=edit
appsrc: when setting caps twice before being started only use the last caps

I made a patch for this as well over the weekend, but mine includes a unit
test. I think it may also be more correct, because I unref caps with
gst_caps_unref() instead of gst_object_unref() and also only do the replacing
if we haven't started yet (otherwise we have to queue the caps in order to
trigger the actual renegotiation as far as I can see).

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