Explaining Gstreamer plugin example

Nicolas Dufresne nicolas at ndufresne.ca
Sun Oct 20 08:28:57 UTC 2019


Le mer. 16 oct. 2019 10 h 55, horai <ivo.hora at seznam.cz> a écrit :

> Seriously,
>
> when running running official gst-plugin-bad wayland example with mouse
> button click signal hander attached to videoarea the following code written
> way, the video runs but upon button click on video the signal is not
> triggered, whey I don't set the pipeline to PLAYING state that means no
> video is rendered, the signal triggers properly:
>
> d->video_widget = GTK_WIDGET (gtk_builder_get_object (builder,
> "videoarea"));
>   g_signal_connect (d->video_widget, "draw",
>       G_CALLBACK (video_widget_draw_cb), d);
>     g_signal_connect(G_OBJECT(d->video_widget), "button_press_event",
> button_press_event, d);
>
> ....
> static void button_press_event(GtkWidget *widget, GdkEventButton *event,
> DemoApp * d) {
>         g_print("button Pressed ...\r\n");
> }
>
> Please, could anyone more skilled verify this and possibly claim problem on
> my side or on waylandsink side?
>

Are you using gnome-shell ? I have reported a bug about inputs and
subsurface but it is likely just the tip of the iceberg. I believe they
have low resources, and many issues to tackle. To make waylandsink work
nicely, we need to start working on the compositors in general. Just need
to find the time.


> Thank you
>
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191020/db87ac11/attachment.html>


More information about the gstreamer-devel mailing list