Andrew Eikum : winegstreamer: Set offset on GstBuffer.
Module: wine Branch: master Commit: 29deae351b4a4460fe8d7a04af88325dac420a0c URL: http://source.winehq.org/git/wine.git/?a=commit;h=29deae351b4a4460fe8d7a04af... Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Thu May 19 09:14:51 2016 -0500 winegstreamer: Set offset on GstBuffer. Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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; }
participants (1)
-
Alexandre Julliard