Andrew Eikum : winegstreamer: Set offset on GstBuffer.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 19 10:32:08 CDT 2016


Module: wine
Branch: master
Commit: 29deae351b4a4460fe8d7a04af88325dac420a0c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=29deae351b4a4460fe8d7a04af88325dac420a0c

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Thu May 19 09:14:51 2016 -0500

winegstreamer: Set offset on GstBuffer.

Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gstdemux.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 97648bc..d71225d 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -712,6 +712,8 @@ static GstFlowReturn request_buffer_src(GstPad *pad, GstObject *parent, guint64
         ERR("Returned %08x\n", hr);
         return GST_FLOW_ERROR;
     }
+
+    GST_BUFFER_OFFSET(*buf) = ofs;
     return GST_FLOW_OK;
 }
 




More information about the wine-cvs mailing list