Re: [Spice-devel] [spice-gtk] gstreamer: Take into account stride information

2017-07-25 Thread Pavel Grunt
On Tue, 2017-07-25 at 10:50 -0400, Frediano Ziglio wrote: > > > > Hi Frediano, > > > > On Tue, 2017-07-25 at 15:31 +0100, Frediano Ziglio wrote: > > > Using hardware encoders/decoders is possible that the output > > > stride of the image cannot be computed with a fixed formula > > > (width * 4).

Re: [Spice-devel] [spice-gtk] gstreamer: Take into account stride information

2017-07-25 Thread Frediano Ziglio
> > Hi Frediano, > > On Tue, 2017-07-25 at 15:31 +0100, Frediano Ziglio wrote: > > Using hardware encoders/decoders is possible that the output > > stride of the image cannot be computed with a fixed formula > > (width * 4). GStreamer in this case should set GstVideoMeta > > information with the

Re: [Spice-devel] [spice-gtk] gstreamer: Take into account stride information

2017-07-25 Thread Pavel Grunt
Hi Frediano, On Tue, 2017-07-25 at 15:31 +0100, Frediano Ziglio wrote: > Using hardware encoders/decoders is possible that the output > stride of the image cannot be computed with a fixed formula > (width * 4). GStreamer in this case should set GstVideoMeta > information with the correct stride

[Spice-devel] [spice-gtk] gstreamer: Take into account stride information

2017-07-25 Thread Frediano Ziglio
Using hardware encoders/decoders is possible that the output stride of the image cannot be computed with a fixed formula (width * 4). GStreamer in this case should set GstVideoMeta information with the correct stride value. Consider this value if present. This fix a problem using NvDec encoder and