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 755482 - videotestsrc: Force alpha downstream if foreground color contains alpha
videotestsrc: Force alpha downstream if foreground color contains alpha
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-23 16:49 UTC by Thibault Saunier
Modified: 2015-10-23 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
videotestsrc: Force alpha downstream if foreground color contains alpha (3.52 KB, patch)
2015-09-23 16:49 UTC, Thibault Saunier
none Details | Review
videotestsrc: Force alpha downstream if foreground color contains alpha (3.41 KB, patch)
2015-10-07 08:24 UTC, Thibault Saunier
accepted-commit_now Details | Review

Description Thibault Saunier 2015-09-23 16:49:53 UTC
Otherwise the foreground color won't be fully represented in the outputted frames.
Comment 1 Thibault Saunier 2015-09-23 16:49:57 UTC
Created attachment 311962 [details] [review]
videotestsrc: Force alpha downstream if foreground color contains alpha

Otherwise the foreground color won't be fully represented in the
outputted frames.
Comment 2 Thibault Saunier 2015-09-27 13:17:57 UTC
I would like to get that fixed in the 1.6 branch, is it possible to merge that patch there or should I work around it in GES?
Comment 3 Sebastian Dröge (slomo) 2015-10-02 14:01:04 UTC
Comment on attachment 311962 [details] [review]
videotestsrc: Force alpha downstream if foreground color contains alpha

Not sure if this is a good idea. Pipelines that worked before are failing now, people might've just left alpha unset for example. Maybe just make it a warning and *prefer* alpha formats?

Also this is only really relevant for a few patterns, not all of them, right?
Comment 4 Thibault Saunier 2015-10-07 08:24:01 UTC
Created attachment 312799 [details] [review]
videotestsrc: Force alpha downstream if foreground color contains alpha

Otherwise the foreground color won't be fully represented in the
outputted frames.
Comment 5 Thibault Saunier 2015-10-07 08:28:09 UTC
(In reply to Sebastian Dröge (slomo) from comment #3)
> Comment on attachment 311962 [details] [review] [review]
> videotestsrc: Force alpha downstream if foreground color contains alpha
> 
> Not sure if this is a good idea. Pipelines that worked before are failing
> now, people might've just left alpha unset for example. Maybe just make it a
> warning and *prefer* alpha formats?

I just WARN if downstream does not support alpha and keep old behaviour in that case.

> Also this is only really relevant for a few patterns, not all of them, right?

It is potentially relevant for all patterns afaiu.
Comment 6 Thibault Saunier 2015-10-23 15:33:20 UTC
commit ab6b536a66e6ef47a2ff77946d3e52a06c06d0d4
Author: Thibault Saunier <tsaunier@gnome.org>
Date:   Wed Sep 23 18:47:52 2015 +0200

    videotestsrc: Force alpha downstream if foreground color contains alpha
    
    Otherwise the foreground color won't be fully represented in the
    outputted frames.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755482