After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699598 - v4l2: fill out v4l2_buffer.bytesused field for v4l2sink
v4l2: fill out v4l2_buffer.bytesused field for v4l2sink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-03 16:06 UTC by Michael Olbrich
Modified: 2013-05-04 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.22 KB, patch)
2013-05-03 16:06 UTC, Michael Olbrich
committed Details | Review

Description Michael Olbrich 2013-05-03 16:06:59 UTC
Created attachment 243210 [details] [review]
patch

When queuing a buffer for a sink, then bytesused must contain the actual
amount of data.
For a source, the driver must overwrite this, so it doesn't matter what is
set here.
Comment 1 Tim-Philipp Müller 2013-05-04 10:21:41 UTC
Thanks, pushed:

commit 59d7d5c6bbb9dcd5a78213456241b31e9ec2d027
Author: Philipp Zabel <p.zabel@pengutronix.de>
Date:   Mon Aug 20 09:52:32 2012 +0200

    v4l2: fill out v4l2_buffer.bytesused field for v4l2sink
    
    When queuing a buffer for a sink, bytesused must contain the actual
    amount of data.
    
    For a source, the driver must overwrite this, so it doesn't matter
    what is set here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699598