[Spice-devel] [spice] server: Don't check the 'this' mjpeg_encoder pointer

Francois Gouget fgouget at codeweavers.com
Mon Nov 16 09:37:17 PST 2015


On Mon, 16 Nov 2015, Christophe Fergeau wrote:

> On Fri, Nov 13, 2015 at 04:14:17PM +0100, Francois Gouget wrote:
> > mjpeg_encoder_get_stats() was the only function to check it.
> 
> Could you trigger this assert in a somehow legit case? Or is this just
> for consistency?

It's for consistency and also as a way to figure out what to do for the 
GStreamer encoder without having to send the whole series for each 
iteration.

-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list