Skip to contentSkip to conversation

gstreamer/gst-plugins-good correct patch 0001-linux36.patch

PATCH New Viacheslav Volkov 2 participants 2 messages Dec 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer/gst-plugins-good correct patch 0001-linux36.patch

Supress warning message

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

---
 package/gstreamer/gst-plugins-good/0001-linux36.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/package/gstreamer/gst-plugins-good/0001-linux36.patch index 5d7cd93..99d62dd 100644

package/gstreamer/gst-plugins-good/0001-linux36.patch +0 -0
@@ -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

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 gstreamer/gst-plugins-good correct patch 0001-linux36.patch

Viacheslav,

Quoted 9 lines · Viacheslav Volkov

Supress warning message

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

I'm sorry but your patch doesn't apply on top of master, I believe because it was line wrapped. Can you send it with 'git send-email' instead, which ensures that your e-mail client does not mess up the patch ?

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com