[Bug 795145] appsink: Reuse sample object in pull_sample if possible
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 12 07:15:25 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795145
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #370822|none |reviewed
status| |
--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 370822:
--> (https://bugzilla.gnome.org/review?bug=795145&attachment=370822)
::: gst-libs/gst/app/gstappsink.c
@@ +812,3 @@
GST_DEBUG_OBJECT (appsink, "activating caps %" GST_PTR_FORMAT,
caps);
gst_caps_replace (&priv->last_caps, caps);
+ gst_sample_set_caps (priv->sample, priv->last_caps);
Why would the sample always be writable here and for the segment event?
--
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