Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Viacheslav Volkov <sv99@inbox.ru>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gstreamer/gst-plugins-good correct patch 0001-linux36.patch
Date: Wed, 9 Dec 2015 16:40:49 +0300	[thread overview]
Message-ID: <56682F61.90106@inbox.ru> (raw)

Supress warning message

>>> gst-plugins-good 0.10.31 Patching

Applying 0001-linux36.patch using patch:
patching file sys/v4l2/gstv4l2bufferpool.c
Hunk #1 succeeded at 181 with fuzz 2 (offset -1 lines).
 
Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
---
 package/gstreamer/gst-plugins-good/0001-linux36.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/gstreamer/gst-plugins-good/0001-linux36.patch
b/package/gstreamer/gst-plugins-good/0001-linux36.patch
index 5d7cd93..99d62dd 100644
--- a/package/gstreamer/gst-plugins-good/0001-linux36.patch
+++ b/package/gstreamer/gst-plugins-good/0001-linux36.patch
@@ -25,13 +25,13 @@ diff --git a/sys/v4l2/gstv4l2bufferpool.c
b/sys/v4l2/gstv4l2bufferpool.c
 index 2e3a563..5aaed5a 100644
 --- a/sys/v4l2/gstv4l2bufferpool.c
 +++ b/sys/v4l2/gstv4l2bufferpool.c
-@@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool,
guint index, GstCaps * caps)
+@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool,
guint index, GstCaps * caps)
      GST_LOG_OBJECT (pool->v4l2elem, "  MMAP offset:  %u",
          ret->vbuffer.m.offset);
    GST_LOG_OBJECT (pool->v4l2elem, "  length:    %u", ret->vbuffer.length);
 -  GST_LOG_OBJECT (pool->v4l2elem, "  input:     %u", ret->vbuffer.input);

-   ret->mmap_length = ret->vbuffer.length;
    data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
+       PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd,
 --
 cgit v0.9.0.2-2-gbebe
-- 
1.9.1

             reply	other threads:[~2015-12-09 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09 13:40 Viacheslav Volkov [this message]
2015-12-09 22:16 ` [Buildroot] [PATCH] gstreamer/gst-plugins-good correct patch 0001-linux36.patch Thomas Petazzoni

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=56682F61.90106@inbox.ru \
    --to=sv99@inbox.ru \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox