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 619835 - [videobox] Either makes video completely opaque or completely transparent
[videobox] Either makes video completely opaque or completely transparent
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.22
Other Linux
: Normal blocker
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-27 14:36 UTC by Guido
Modified: 2010-05-27 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pitivi project (4.70 KB, text/x-xptv)
2010-05-27 15:08 UTC, Guido
  Details
videobox: Fix floating point to integer conversion for the alpha values (1.03 KB, patch)
2010-05-27 16:09 UTC, Sebastian Dröge (slomo)
none Details | Review
videobox: Fix floating point to integer conversion for the alpha values (1.03 KB, patch)
2010-05-27 16:11 UTC, Sebastian Dröge (slomo)
accepted-commit_now Details | Review

Description Guido 2010-05-27 14:36:38 UTC
Hi.

I upgraded gstreamer form the well-known gstreamer dev PPA for ubuntu lucid. After this, transparency in PITIVI doesn't work at all.
Clips can be seen only with 100% opacity.

This issue is in playback in Pitivi and in rendering.
Comment 1 Sebastian Dröge (slomo) 2010-05-27 14:56:23 UTC
From which to which version did you update which packages? Could you attach a sample pitivi project that shows this behaviour?
Comment 2 Guido 2010-05-27 15:08:21 UTC
Created attachment 162110 [details]
pitivi project
Comment 3 Guido 2010-05-27 15:09:13 UTC
well sebastian, I upgraded Lucid with your own ppa :)

these are packages (see forward)

Behaviour is this:

Setting opacity < 100% (even 99%) I can see only the clip on the second track. 
If I delete the second track, I see only a black screen with opacity < 100%



----------------------------------------------------
dpkg -l | grep gst
ii  bluez-gstreamer                                4.60-0ubuntu8                                   Bluetooth GStreamer support
ii  gstreamer-tools                                0.10.29-1~ppa10.04+1                            Tools for use with GStreamer
ii  gstreamer0.10-alsa                             0.10.29-4~ppa10.04+1                            GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                           0.10.10-1+lucid1                                FFmpeg plugin for GStreamer
ii  gstreamer0.10-gnonlin                          0.10.15-1                                       non-linear editing module for GStreamer
ii  gstreamer0.10-nice                             0.0.12-1~ppa10.04+1                             ICE library (GStreamer plugin)
ii  gstreamer0.10-pitfdll                          0.9.1.1+cvs20080215-1ubuntu2                    GStreamer plugin for using MS Windows binary
ii  gstreamer0.10-plugins-bad                      0.10.18.3-1~lucid2                              GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-bad-multiverse           0.10.18-0ubuntu1                                GStreamer plugins from the "bad" set (Multiv
ii  gstreamer0.10-plugins-base                     0.10.29-4~ppa10.04+1                            GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-apps                0.10.29-4~ppa10.04+1                            GStreamer helper programs from the "base" se
ii  gstreamer0.10-plugins-good                     0.10.22.3-1~lucid1                              GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly                     0.10.14.3-1~lucid1                              GStreamer plugins from the "ugly" set
ii  gstreamer0.10-plugins-ugly-multiverse          0.10.14-0ubuntu1                                GStreamer plugins from the "ugly" set (Multi
ii  gstreamer0.10-pulseaudio                       0.10.22.3-1~lucid1                              GStreamer plugin for PulseAudio
ii  gstreamer0.10-tools                            0.10.29-1~ppa10.04+1                            Tools for use with GStreamer
ii  gstreamer0.10-x                                0.10.29-4~ppa10.04+1                            GStreamer plugins for X11 and Pango
ii  libcanberra-gstreamer                          0.22-1ubuntu2                                   GStreamer backend for libcanberra
ii  libgstfarsight0.10-0                           0.0.19-2~ppa10.04+1                             Audio/Video communications framework: core l
ii  libgstreamer-plugins-base0.10-0                0.10.29-4~ppa10.04+1                            GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                             0.10.29-1~ppa10.04+1                            Core GStreamer libraries and elements
ii  python-gst0.10                                 0.10.18-1                                       generic media-playing framework (
Comment 4 Sebastian Dröge (slomo) 2010-05-27 15:22:06 UTC
Unfortunately I can confirm this.
Comment 5 Guido 2010-05-27 15:29:25 UTC
I'm at your disposal for any test.
Comment 6 Sebastian Dröge (slomo) 2010-05-27 15:40:28 UTC
Ok, scary. This happens with latest releases (not pre-releases) of everything too....
Comment 7 Sebastian Dröge (slomo) 2010-05-27 15:58:30 UTC
Regression in videobox between 0.10.21 and 0.10.22 it seems
Comment 8 Sebastian Dröge (slomo) 2010-05-27 16:09:00 UTC
Created attachment 162119 [details] [review]
videobox: Fix floating point to integer conversion for the alpha values

Fixes bug #619835.
Comment 9 Sebastian Dröge (slomo) 2010-05-27 16:11:39 UTC
Created attachment 162120 [details] [review]
videobox: Fix floating point to integer conversion for the alpha values

Fixes bug #619835.
Comment 10 Sebastian Dröge (slomo) 2010-05-27 16:13:47 UTC
Apparently casts have higher precedence than arithmetic operators ;)
Comment 11 Tim-Philipp Müller 2010-05-27 16:21:21 UTC
Comment on attachment 162120 [details] [review]
videobox: Fix floating point to integer conversion for the alpha values

(Haha)
Comment 12 Guido 2010-05-27 16:31:57 UTC
thank you very much, you are very fast :)

Can you upgrade the package in the LP PPA soon?

*Many* users (like me) added that PPA because webm support (that works fine! :-) even it was necessary to set "max lacency" to "1" instead "10" as default in Pitivi in order to render a project).

Thank you.
Comment 13 Sebastian Dröge (slomo) 2010-05-27 16:34:12 UTC
commit ad9ffeed031582c33240a0ac730545dee8e4d844
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Thu May 27 18:08:17 2010 +0200

    videobox: Fix floating point to integer conversion for the alpha values
    
    Fixes bug #619835.