GNOME Bugzilla – Bug 663574
gstfbdevsink: Fix depth value for GST_VIDEO_CAPS_RGB_15
Last modified: 2013-03-09 00:25:12 UTC
Created attachment 200897 [details] [review] gstfbdevsink: Fix depth value for GST_VIDEO_CAPS_RGB_15 True RGB color format does not have any alpha components (24-bit depth), adding alpha length to depth could yield wrong results. Attached patch fixes the issue.
Shouldn't the alpha channel length be 0 for non-alpha formats and give the correct results?
pprakash, can you please respond to comment#1 ?
Sorry for the delay, I seem to have missed this response. I agree that channel length for non-alpha format should be 0. I have implemented the required changes in the kernel driver to reflect this. However, the default caps configuration for gstfbdevsink is for RGB 15 and there is no alpha component for this data format.
Comment on attachment 200897 [details] [review] gstfbdevsink: Fix depth value for GST_VIDEO_CAPS_RGB_15 [Setting "patch" flag and correcting mime type so this can actually be queried for.]
Sorry for letting this patch sit in bugzilla for such a long time. I've now ported fbdevsink to GStreamer 1.0 and think the issue is addressed there. Would be grateful if you could test it (since I've only tested RGBx).