Gtk3 window unresponsive on windows 10 when video embedded in

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Gtk3 window unresponsive on windows 10 when video embedded in

RiccardoCagnasso
Using this code I can embed a videosink in a GTK3 window's drawing area on
Windows 10



But this causes the window to become unresponsive and eventually triggers
the windows 10 unresponsive application error message.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3 window unresponsive on windows 10 when video embedded in

Luca Bacci
Hi Riccardo,

I can't see any code in your email using GMail web client. Could you post it again?

Il lun 1 mar 2021, 14:09 RiccardoCagnasso <[hidden email]> ha scritto:
Using this code I can embed a videosink in a GTK3 window's drawing area on
Windows 10



But this causes the window to become unresponsive and eventually triggers
the windows 10 unresponsive application error message.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3 window unresponsive on windows 10 when video embedded in

RiccardoCagnasso
The code seems to be removed for some reason.

I'll post a pastebin https://pastebin.com/jNVb2jMN



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3 window unresponsive on windows 10 when video embedded in

Olivier Aubert
FWIW, I transitioned for win32 from using the Overlay API with a
drawing area to using the gtksink element, which directly provides a
Gtk widget. It is much more convenient to handle.

Olivier

On Mon, 2021-03-01 at 10:56 -0600, RiccardoCagnasso wrote:

> The code seems to be removed for some reason.
>
> I'll post a pastebin https://pastebin.com/jNVb2jMN
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3 window unresponsive on windows 10 when video embedded in

RiccardoCagnasso
Well, gtksink works fine. Too bad that you can't choose what videosink you
are actually using.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gtk3 window unresponsive on windows 10 when video embedded in

Olivier Aubert
On Wed, 2021-03-03 at 04:02 -0600, RiccardoCagnasso wrote:
> Well, gtksink works fine. Too bad that you can't choose what videosink you
> are actually using.
AFAICS from the sources[1], gtksink does not use a specific videosink:
it simply renders frame buffers using the cairo API, which may be
suboptimal in terms of performance wrt. specialized protocols like
XVideo, but can be considered an acceptable trade-off for the
simplification in integration. You may also try gtkglsink (in
combination for glupload).

Olivier

[1] https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/blob/1.18/ext/gtk/gtkgstwidget.c#L42


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel