After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694374 - alpha: improve descriptions of chroma keying-related properties and enums
alpha: improve descriptions of chroma keying-related properties and enums
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-21 16:50 UTC by Jean-François Fortin Tam
Modified: 2013-02-22 00:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
commit 1 (1.08 KB, patch)
2013-02-21 16:51 UTC, Jean-François Fortin Tam
committed Details | Review
commit 2 (900 bytes, patch)
2013-02-21 16:51 UTC, Jean-François Fortin Tam
committed Details | Review
commit 3 (1.08 KB, patch)
2013-02-21 16:52 UTC, Jean-François Fortin Tam
committed Details | Review
commit 4 (1.83 KB, patch)
2013-02-21 16:52 UTC, Jean-François Fortin Tam
none Details | Review
alpha: Do not override the method with custom r/g/b values (3.02 KB, patch)
2013-02-21 20:06 UTC, Youness Alaoui
committed Details | Review
commit 4 v2 (1.89 KB, patch)
2013-02-21 20:36 UTC, Jean-François Fortin Tam
committed Details | Review

Description Jean-François Fortin Tam 2013-02-21 16:50:48 UTC
Attaching a série of patches that improve the clarity of the properties being exposed.

Although this should benefit anybody who wants to use the alpha plugin, the improvements are quite noticeable when you look at the autogenerated UI shown in Pitivi, it makes it actually understandable for people who haven't read the source :)
Comment 1 Jean-François Fortin Tam 2013-02-21 16:51:38 UTC
Created attachment 237064 [details] [review]
commit 1
Comment 2 Jean-François Fortin Tam 2013-02-21 16:51:54 UTC
Created attachment 237065 [details] [review]
commit 2
Comment 3 Jean-François Fortin Tam 2013-02-21 16:52:19 UTC
Created attachment 237066 [details] [review]
commit 3
Comment 4 Jean-François Fortin Tam 2013-02-21 16:52:54 UTC
Created attachment 237067 [details] [review]
commit 4

This should settle the deal.
Comment 5 Youness Alaoui 2013-02-21 20:06:24 UTC
Created attachment 237104 [details] [review]
alpha: Do not override the method with custom r/g/b values

Cool! I'd suggest in the last commit to replace "The target red color value" by "The target red color value for custom RGB chroma" (same for green and blue) to make it clear that they are unused/irrelevant if the method is not set correctly.
Note though that the custom r/g/b settings will override the method if set to green/blue (depending on the order they appear in in the g_object_set), so I'm attaching a patch (against master) that will not use the target-r/g/b values unless the method is set to custom.
Comment 6 Jean-François Fortin Tam 2013-02-21 20:36:15 UTC
Created attachment 237107 [details] [review]
commit 4 v2

Revised commit as per Youness' suggestion.
Comment 7 Tim-Philipp Müller 2013-02-22 00:14:37 UTC
Thanks for the patches!

commit f5cb19e28762bfebeacbbae2159667ba45cb03dc
Author: Jean-François Fortin Tam <nekohayo@gmail.com>
Date:   Thu Feb 21 11:15:23 2013 -0500

    alpha: improve descriptions of chroma keying-related properties and enums
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694374

commit a65fd146f8c42f7edb86d63d68a3e1a979d05c7e
Author: Youness Alaoui <youness.alaoui@collabora.co.uk>
Date:   Thu Feb 21 15:01:15 2013 -0500

    alpha: Do not override the method with custom r/g/b values
    
    Depending on the order g_object_set() calls aare made, the
    target r/g/b settings will override the method if set to
    green/blue. Change that so we do not use the target-r/g/b values
    unless the method is set to custom.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694374