From: Denys Dmytriyenko <denys@ti.com>
To: Karthik Ramanan <a0393906@ti.com>
Cc: meta-arago@arago-project.org, Ramprasad N <x0038811@ti.com>
Subject: Re: [morty PATCH] gstreamer1.0*-good: Increase v4l2src minimum buffers by 4
Date: Thu, 9 Nov 2017 11:27:42 -0500 [thread overview]
Message-ID: <20171109162742.GA24755@edge> (raw)
In-Reply-To: <48c70982-7a4a-d4ca-0388-803733879496@ti.com>
On Thu, Nov 09, 2017 at 09:33:46PM +0800, Karthik Ramanan wrote:
> Denys,
>
>
> On 08-Nov-17 10:45 PM, Denys Dmytriyenko wrote:
> >On Wed, Nov 08, 2017 at 05:36:33PM +0800, Karthik Ramanan wrote:
> >>Looks good. ACK.
> >Where's the patch?
> Are you referring to the patch missing in the patchwork on the
> meta-arago list? Even I was wondering why I couldn't find it.
The patch was not on the list.
> Or is it something else?
> >
> >
> >>On 08-Nov-17 11:41 AM, Ramprasad N wrote:
> >>>Signed-off-by: Ramprasad N <x0038811@ti.com>
> >>>---
> >>> ...v4l2src-Increase-minimum-num-buffers-by-4.patch | 33 ++++++++++++++++++++++
> >>> .../gstreamer1.0-plugins-good_1.8.3.bbappend | 8 ++++++
> >>> 2 files changed, 41 insertions(+)
> >>> create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2src-Increase-minimum-num-buffers-by-4.patch
> >>> create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend
> >>>
> >>>diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2src-Increase-minimum-num-buffers-by-4.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2src-Increase-minimum-num-buffers-by-4.patch
> >>>new file mode 100644
> >>>index 0000000..1af90c1
> >>>--- /dev/null
> >>>+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2src-Increase-minimum-num-buffers-by-4.patch
> >>>@@ -0,0 +1,33 @@
> >>>+From 73254df370fec6a2eb1ae6711955307a1d4bf173 Mon Sep 17 00:00:00 2001
> >>>+From: Ramprasad N <x0038811@ti.com>
> >>>+Date: Fri, 13 Oct 2017 15:48:06 +0530
> >>>+Subject: [PATCH] v4l2src: Increase minimum num buffers by 4
> >>>+
> >>>+v4l2src plugin allocates 4 buffers for the pipeline.
> >>>+To capture video in realtime the pipeline without frameloss,
> >>>+four buffers are not sufficient. Increase the
> >>>+number of buffers by 4 more.
> >>>+
> >>>+Signed-off-by: Ramprasad N <x0038811@ti.com>
> >>>+---
> >>>+ sys/v4l2/gstv4l2object.c | 4 +++-
> >>>+ 1 file changed, 3 insertions(+), 1 deletion(-)
> >>>+
> >>>+diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
> >>>+index 549e06f..773f46d 100644
> >>>+--- a/sys/v4l2/gstv4l2object.c
> >>>++++ b/sys/v4l2/gstv4l2object.c
> >>>+@@ -3939,7 +3939,9 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
> >>>+ * to fill the pipeline, the minimum required to decoder according to the
> >>>+ * driver and 1 more, so we don't endup up with everything downstream or
> >>>+ * held by the decoder. */
> >>>+- own_min = min + obj->min_buffers + 1;
> >>>++ /* Increase the number of buffers required by 4 more to capture video in
> >>>++ * realtime. With default number of 4 buffers, frame loss is observed */
> >>>++ own_min = min + obj->min_buffers + 5;
> >>>+
> >>>+ /* If no allocation parameters where provided, allow for a little more
> >>>+ * buffers and enable copy threshold */
> >>>+--
> >>>+1.9.1
> >>>+
> >>>diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend
> >>>new file mode 100644
> >>>index 0000000..29a07b2
> >>>--- /dev/null
> >>>+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend
> >>>@@ -0,0 +1,8 @@
> >>>+PR_append = ".arago0"
> >>>+
> >>>+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >>>+
> >>>+SRC_URI += " \
> >>>+ file://0001-v4l2src-Increase-minimum-num-buffers-by-4.patch \
> >>>+ "
> >>>+
> >>_______________________________________________
> >>meta-arago mailing list
> >>meta-arago@arago-project.org
> >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
prev parent reply other threads:[~2017-11-09 16:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1510112505-15937-1-git-send-email-x0038811@ti.com>
2017-11-08 9:36 ` [morty PATCH] gstreamer1.0*-good: Increase v4l2src minimum buffers by 4 Karthik Ramanan
2017-11-08 14:45 ` Denys Dmytriyenko
2017-11-09 13:33 ` Karthik Ramanan
2017-11-09 16:27 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171109162742.GA24755@edge \
--to=denys@ti.com \
--cc=a0393906@ti.com \
--cc=meta-arago@arago-project.org \
--cc=x0038811@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.