Re: [Spice-devel] [spice-gtk v2 1/2] Fix possible multimedia time overflow

2017-03-17 Thread Christophe de Dinechin
> On 16 Mar 2017, at 11:49, Marc-André Lureau > wrote: > > Hi > > - Original Message - >> The multimedia time can easily overflow as is encoded in an >> unsigned 32 bit and have a unit of milliseconds so it wrap >> up every 49 days. Use

Re: [Spice-devel] [spice-gtk v2 1/2] Fix possible multimedia time overflow

2017-03-16 Thread Marc-André Lureau
Hi - Original Message - > > > > Hi > > > > - Original Message - > > > The multimedia time can easily overflow as is encoded in an > > > unsigned 32 bit and have a unit of milliseconds so it wrap > > > up every 49 days. Use some math that allow the number to overflow > > >

Re: [Spice-devel] [spice-gtk v2 1/2] Fix possible multimedia time overflow

2017-03-16 Thread Frediano Ziglio
> > Hi > > - Original Message - > > The multimedia time can easily overflow as is encoded in an > > unsigned 32 bit and have a unit of milliseconds so it wrap > > up every 49 days. Use some math that allow the number to overflow > > without issues. > > This could caused the client to

Re: [Spice-devel] [spice-gtk v2 1/2] Fix possible multimedia time overflow

2017-03-16 Thread Marc-André Lureau
Hi - Original Message - > The multimedia time can easily overflow as is encoded in an > unsigned 32 bit and have a unit of milliseconds so it wrap > up every 49 days. Use some math that allow the number to overflow > without issues. > This could caused the client to stop handling

[Spice-devel] [spice-gtk v2 1/2] Fix possible multimedia time overflow

2017-03-16 Thread Frediano Ziglio
The multimedia time can easily overflow as is encoded in an unsigned 32 bit and have a unit of milliseconds so it wrap up every 49 days. Use some math that allow the number to overflow without issues. This could caused the client to stop handling streaming and starting only queueing.