appsink: Reuse sample object in pull_sample if possible
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 10 Apr 2018 22:57:43 +0000 (00:57 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 19 Apr 2018 14:14:12 +0000 (16:14 +0200)
commitd00e0b612dd1a8f9ad15aa78282defc8df21a86a
tree623cbded502edd45ff31d891aff2a3d79c4c5b7c
parent89d0e9cc92a86aa0227ee87406737b6d31670aea
appsink: Reuse sample object in pull_sample if possible

Simple optimization to reduce memory allocations.

https://bugzilla.gnome.org/show_bug.cgi?id=795145
gst-libs/gst/app/gstappsink.c
tests/check/elements/appsink.c