[Bug 733864] v4l2videodec: Implement EOS handling through V4L2_DEC_CMD_STOP
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Dec 19 13:01:20 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=733864
GStreamer | gst-plugins-good | git
Peter Seiderer <ps.report> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ps.report at gmx.net
--- Comment #2 from Peter Seiderer <ps.report at gmx.net> 2014-12-19 21:01:13 UTC ---
Here a first draft patchset to add V4L2_ENC_CMD_STOP/V4L2_DEC_CMD_STOP
support to the v4l2 gstreamer elements (as suggested on [1]), against
gstreamer-1.4.4 with patches for v4l2encoder applied (see [2]):
0001-v4l2_calls-add-gst_v4l2_encoder_cmd-and-gst_v4l2_dec.patch
0002-v4l2videoenc-send-V4L2_ENC_CMD_STOP-instead-of-empty.patch
0003-v4l2videodec-send-V4L2_DEC_CMD_STOP-instead-of-empty.patch
0004-gstv4l2bufferpool-gstv4l2videodec-add-last-buffer-eo.patch
Patch 1 to 3 are straight forward, patch 4 very preliminary as
it depends on adding the V4L2_BUF_FLAG_LAST flag to the linux
kernel, see 0001-coda-mark-last-buffer.patch for adding it
to the coda driver for testing. The patch re-enables the
queueing of empty buffers to trigger the code driver
(without this the code in coda_dqbuf() is never reached).
With this patches applied a decoding pipeline with
gstreamer-1.4.4 on i.mx6 stops with correct EOS handling.
Regards,
Peter
[1] http://www.spinics.net/lists/linux-media/msg84390.html
[2] https://bugzilla.gnome.org/show_bug.cgi?id=728438
--
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