[Bug 729760] appsrc: Changing caps and pushing buffers is not serialized

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 27 18:31:16 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729760
  GStreamer | gst-plugins-base | git

--- Comment #5 from comicfans44 <comicfans44 at gmail.com> 2014-07-28 01:31:15 UTC ---
Created an attachment (id=281836)
 View: https://bugzilla.gnome.org/attachment.cgi?id=281836
 Review: https://bugzilla.gnome.org/review?bug=729760&attachment=281836

misc patch to improve caps update logic

call gst_app_src_flush_queued in gst_app_src_set_caps should avoid giving out
invalid size buffer, but if caps changing rapidly (consider new caps per
buffer),lots buffer lost and maybe none buffer can gives out, maybe queue of
buffer queue like :
queue: | newcaps,buf....|newcaps,buf....|newcaps,buf....
will be better?


while walking the code, I found gst_app_src_set_caps only compare caps pointer
to determine if they are the same,should it use gst_caps_is_equal to compare as
well ? if this is the case, this patch adding this.

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


More information about the gstreamer-bugs mailing list