~libv4l/libv4l/dev

Viewing all changes in revision 4140.

  • Committer: Hans Verkuil
  • Date: 2019-04-02 09:28:59 UTC
  • Revision ID: git-v1:2be31095509aa5bad3c01248a69a8fc49b713dc1
v4l2-ctl: disable_trace disabled too much

When trying to stream twice from the same device the second attempt
silently exits since REQBUFS returns EBUSY. The problem is that there
is no feedback of the ioctl error to the user, and that is because
the ioctl tracing is disabled before REQBUFS is called.

Change the code to be a bit more refined w.r.t. what is traced and
what isn't.

Now a proper error code is shown.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: