[Bug 735879] basetetxtoverlay: make shading_value a property

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 4 01:40:06 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735879
  GStreamer | gst-plugins-base | 1.x

--- Comment #2 from Nicola <lists at svrinformatica.it> 2014-09-04 08:40:00 UTC ---
ok but from cairo docs:

"
void                cairo_paint_with_alpha              (cairo_t *cr,
                                                         double alpha);

alpha :

alpha value, between 0 (transparent) and 1 (opaque)
"

we now pass a negative integer between -1 and -255 (before this patch we passed
-80), maybe we should do something like this (not tested):

cairo_paint_with_alpha (cr, overlay->shading_value/255.0);

instead of:

cairo_paint_with_alpha (cr, -overlay->shading_value);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list