[Spice-devel] [PATCH spice-gtk] pulse: do not abort on corking no stream
Christophe Fergeau
cfergeau at redhat.com
Mon Nov 25 05:38:59 PST 2013
On Mon, Nov 25, 2013 at 02:31:10PM +0100, Marc-André Lureau wrote:
> On Mon, Nov 25, 2013 at 1:41 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > On Mon, Nov 25, 2013 at 01:33:52PM +0100, Marc-André Lureau wrote:
> >> Check that there is an actual stream before calling cork().
> >
> > Is it expected that we are getting called with a non-NULL stream in the
> > first place?
>
> Since this is sent by server on mjpeg stream creation, I would say
> playback stream isn't mandatory.
>
> Anyway, it should not crash.
Of course not, but we should fix things in the right place, hence the
question to know if this is the right place for that fix.
Your answer seems to be about playback_min_latency_changed(), what about
stream_uncork? Is this happening in the same situation?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131125/fc2654e6/attachment.pgp>
More information about the Spice-devel
mailing list