On 09/03/2017 02:27 AM, Mark Thompson wrote:
+
+static inline int splane_video(struct v4l2_capability *cap)
+{
+ if (cap->capabilities & (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT) &
V4L2_CAP_STREAMING)
From videodev2.h:
#define V4L2_CAP_VIDEO_CAPTURE 0x00000001 /* Is a video capture
device */
#define V4L2_CAP_VIDEO_OUTPUT 0x00000002 /* Is a video output device
*/
#define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */
So this is always zero?
um, my bad - I wrongly refactored this some versions ago.
unfortunately the subsequent test seem to have caught the right setting
so I didnt notice.
thanks for checking!
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel