On Fri, Dec 23, 2011 at 09:17:58AM -0800, Naga Mohan Pothula wrote: > Hi, > I have doubt on MJpeg encode/decode module. I've seen Frame rect with ODD > format is not accepting by MJpegDecoder at "convert_scanline" function. > ASSERT(_width % 2 == 0); > ASSERT(_height % 2 == 0); > Spice session crash happens due to this assertion. > Why the decoder accepts only EVEN format frames? If this is the case why > we are not going to restrict at MJpeg Encoder rather than keeping an > assertion at MJpeg Decoder. > How we are dealing with ODD format Frame rects for MJpeg?
IIRC we produce even width and height in the encoder, hence the assertion. Take a look at the server side encoder. > Appreciated your help. > Thanks, > Mohan. > _______________________________________________ > Spice-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
