[FFmpeg-devel] [PATCHv8] libavcodec: v4l2: add support for v4l2 mem2mem codecs
Jorge Ramirez
jorge.ramirez-ortiz at linaro.org
Sun Sep 3 15:50:26 EEST 2017
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!
More information about the ffmpeg-devel
mailing list