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 318136 - [ffmpegcolorspace] RGB fixation issue (needlessly fixates to 8 bpp)
[ffmpegcolorspace] RGB fixation issue (needlessly fixates to 8 bpp)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other Linux
: Normal normal
: 0.8.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 164176
 
 
Reported: 2005-10-06 19:17 UTC by Tim-Philipp Müller
Modified: 2005-10-06 19:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2005-10-06 19:17:05 UTC
See bug #164176 comment 16 for details.

For example, if you have a pipeline like this:

 .... ! ffmpegcolorspace ! video/x-raw-rgb ! ffmpegcolorspace ! ....

then the link between the two ffmpegcolorspace fixates to
video/x-raw-rgb,bpp=8,depth=8, which makes it looks like there's a chroma defect
somewhere in the pipeline, while it's just that there are only 2 bits per pixel
per colour ...

The same might happen with other elements than ffmpegcolorspace as well of
course if they support multiple bpp/depths.

(Just filed this dummy bug so it appears in the release notes, might have bitten
 others).

Cheers
 -Tim
Comment 1 Tim-Philipp Müller 2005-10-06 19:21:48 UTC
2005-10-06  Tim-Philipp Muller  <tim at centricular dot net>

        * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
        (gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
        (gst_ffmpegcsp_fixate_field_nearest_int), (gst_ffmpegcsp_fixate),
        (gst_ffmpegcsp_init):
          Add a fixate function to both pads to make sure we don't fixate to
          silly values like, say, 8bpp RGB video, if we can just as well do
          better. (#164176, #318136)