[PATCH 1/2] v4l2: Implement decoding of the remaining V4L2_BUF_TYPE_* types.

Edgar Kaziahmedov edos at linux.com
Thu Apr 13 23:54:41 UTC 2017


On Fri, 14 Apr 2017 02:51:24 +0300
"Dmitry V. Levin" <ldv at altlinux.org> wrote:

> On Fri, Apr 14, 2017 at 02:39:03AM +0300, Edgar Kaziahmedov wrote:
> [...]
> > +#if HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
> > +		tprintf(", global_alpha=%#x}",
> > f->fmt.win.global_alpha); +#else
> > +		tprints("}");
> > +#endif  
> 
> Let's move tprints("}"); to the common code:
> 
> #if HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA
> 		tprintf(", global_alpha=%#x",
> f->fmt.win.global_alpha); #endif
> 		tprints("}");
> 
> > +#if HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE
> > +		tprintf(", buffersize=%u}",
> > +			f->fmt.sdr.buffersize);
> > +#else
> > +		tprints("}");
> >  #endif  
> 
> Likewise.
> 
> 

Oh, no, I wanted to change it, but forgot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170414/6e1a5d52/attachment.bin>


More information about the Strace-devel mailing list