[Bug 787937] rtph265depay:Missing Unmap buffer if not implemented case
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 20 10:56:30 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787937
--- Comment #1 from Ponnam Srinivas <p.srinivas at samsung.com> ---
Comment on attachment 360119
--> https://bugzilla.gnome.org/attachment.cgi?id=360119
Attached the patch
>From 578d73fd528e233f3e18c093b23e2bdb9ec4fe8a Mon Sep 17 00:00:00 2001
>From: Ponnam Srinivas <p.srinivas at samsung.com>
>Date: Wed, 20 Sep 2017 16:11:00 +0530
>Subject: [PATCH] rtph265depay Unmap buffer if not_implemented case
>
>---
> gst/rtp/gstrtph265depay.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c
>index dca0add..474caa1 100644
>--- a/gst/rtp/gstrtph265depay.c
>+++ b/gst/rtp/gstrtph265depay.c
>@@ -1441,6 +1441,8 @@ not_implemented:
> {
> GST_ELEMENT_ERROR (rtph265depay, STREAM, FORMAT,
> (NULL), ("NAL unit type %d not supported yet", nal_unit_type));
>+ if(outbuf)
>+ gst_buffer_unmap (outbuf, &map);
> return NULL;
> }
> }
>--
>1.9.1
>
--
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