Re: [PATCH v5 16/20] spice-gtk: Refactor the video decoding to use a more object oriented design.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2015 at 01:40:09PM +0200, Francois Gouget wrote:
> On Mon, 21 Sep 2015, Christophe Fergeau wrote:
> [...]
> > > -        st->msg_data = in;
> > 
> > Not very clear in this commit why you needed to stop storing the message
> > within the display_stream structure, and makes the diff bigger than it
> > could, I guess I'll find an explanation when looking at the commits
> > introducing gstreamer ;)
> 
> This patch introduces a proper API for the video decoder. Part of that 
> is not having the video decoder depend on the internals of the 
> display_stream structure so it is more reusable.
> 
> Before this patch channel-display-mjpeg.c has no place to store the 
> frame message. Yet, as far as I can see, it cannot pass it to the 
> mjpeg_src_init() callback that needs it. So removing the 
> display_stream.msg_data field cannot come before this patch. And I don't 
> think it's worth introducing a flawed version of the video decoder API 
> just to fix it in the next patch.

Sure, I was not necessarily suggesting more code changas, a short
explanation in the commit log might be helpful though.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]