[Bug 790312] msdk: memory leak always happen when encoding and decoding

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 22 07:57:44 UTC 2017


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #364161|none                        |reviewed
             status|                            |

--- Comment #18 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 364161:
 --> (https://bugzilla.gnome.org/review?bug=790312&attachment=364161)

::: sys/msdk/gstmsdkdec.c
@@ +703,3 @@
     task = &g_array_index (thiz->tasks, MsdkDecTask, thiz->next_task);
+    if ((flow = gst_msdkdec_finish_task (thiz, task)) != GST_FLOW_OK)
+      return flow;

Should all other tasks not be finished too somehow, so that all pending frames
are discarded at least?

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