[Bug 740040] v4l2src: Fails in presence of V4L2_BUF_FLAG_ERROR

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 21 08:57:29 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740040
  GStreamer | gst-plugins-good | 1.4.4

Nicolas Dufresne (stormer) <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #290805|none                        |committed
             status|                            |

--- Comment #17 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-11-21 16:57:23 UTC ---
(From update of attachment 290805)
1.4

commit f8726a5d5f1bbbc6d0df8280ccf53247e1f9f019
Author: Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>
Date:   Sun Nov 16 12:34:17 2014 -0500

    v4l2: Handle corrupted buffer with empty payload

    This allow skipping buffer flagged with ERROR that has no payload.
    This is typical behaviour when a recovererable error occured during
    capture in the driver, but that no valid data was ever written into that
    buffer. This patch also translate V4L2_BUF_FLAG_ERROR into
    GST_BUFFER_FLAG_CORRUPTED. Hence decoding error produce
    by decoder due to missing frames will now be correctly marked. Finally,
    this fixes a buffer leak when EOS is reached.

    https://bugzilla.gnome.org/show_bug.cgi?id=740040

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list