On Mon, Apr 10, 2017 at 01:45:01PM +0300, Edgar Kaziahmedov wrote:
[...]
> +     /* since Linux 3.15 */
>  #if HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE
>       case V4L2_BUF_TYPE_SDR_CAPTURE:
> -     case V4L2_BUF_TYPE_SDR_OUTPUT:
>               tprints(prefix);
> -             tprints("fmt.sdr={???}");
> +             tprints("fmt.sdr={pixelformat=");
> +             print_pixelformat(f->fmt.sdr.pixelformat);
> +             tprintf(", buffersize=%u}",
> +                     f->fmt.sdr.buffersize);

struct v4l2_sdr_format.buffersize was introduced by commit
v3.17-rc1~112^2~230, on earlier kernels it turns into a syntax error:

v4l2.c: In function 'print_v4l2_format_fmt':
v4l2.c:343:14: error: 'const struct <anonymous>' has no member named 
'buffersize'


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to