[Spice-devel] [PATCH spice-gtk v7] Fix overlay for vaapisink

Frediano Ziglio fziglio at redhat.com
Mon Jan 21 12:04:04 UTC 2019


> On 1/21/19 12:21 PM, Frediano Ziglio wrote:
> >> Hi,
> >>
> >> Just came to me that it may fail if HAVE_LIBVA is not defined && version
> >> is >1.14 and so i checked and
> >> it seems to work also without the context handling, Is it possible that
> >> application's context handling is
> >> not needed? I couldn't find any related vaapisink bug that was closed
> >> recently.
> >>
> >> Snir.
> >>
> > It crashed for me. Are you sure code is using vaapisink? Print the
> 
> 
> Yes, first thing I've check, see dot file attached ( I just revert this
> patch and comment out the vaapisink ranking)
> 
> After additional check, It seems to stop crashing for me since the
> overlay control was moved to the widget.
> 

Which exact patch(es) ?
Maybe some minor changes did the trick ?
I cannot see the reason why moving code from one side to another
would have fix the issue, would be different if the initialization
would be done at library (spice-glib) initialization but it's done
lately when the stream arrive so after all libraries are initialized.

> 
> Snir.
> 
> > pipeline, sometimes code is using vaapi but not the sink (so Gstreamer
> > extracts textures and then use xv plugin for instance).
> >


More information about the Spice-devel mailing list