GNOME Bugzilla – Bug 743496
libcheese: port to clutter-gst 3.0
Last modified: 2015-11-30 15:09:37 UTC
Here is a patch to port to clutter gst 3.0. This new version adds support for color correction using shaders. It would even be possible to write shaders to effects too. Sadly this code with a tiny api break for libcheese. Let me know if I can help to port the apps using it.
Created attachment 295386 [details] [review] libcheese: port to clutter-gst 3.0
Created attachment 295527 [details] [review] libcheese: port to clutter-gst 3.0
Sorry, I couldn't test this at home, because my webcam doesn't have a linux driver. Fixed the remaining issues.
Review of attachment 295527 [details] [review]: ::: libcheese/cheese-camera.c @@ +1043,3 @@ + + g_signal_connect (G_OBJECT (clutter_actor_get_content (texture)), + "sink", display_element, If the content has a preferred size, then you can use CLUTTER_REQUEST_CONTEXT_SIZE from Clutter 1.22, instead of using a signal and a fixed size. @@ +1621,3 @@ + NULL), + NULL); + g_signal_connect (G_OBJECT (clutter_actor_get_content (priv->video_texture)), Same as above.
That won't work, because the size of the content is only known much later, when the first images are extracted from the webcam. ClutterContent cannot emit a queue_layout on their actor.
Ping?
Review of attachment 295527 [details] [review]: Pushed to master as commit 9df993253d58c2442ab92df613f5754ead5b5e20, with minor fixes for the .pc file.