bayer2rgb: odd width causes segmentation fault
Submitted by Dimitrios Katsaros
I am trying to develop a component that uses the x-bayer format. After trying to debug a segmentation fault I reached this pipeline:
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-bayer ! bayer2rgb ! ximagesink
The pipeline Starts normally, then the ximagesink causes a renegotiation to happen to maximize the framesize. That causes a segmentation fault. I cannot determine if the problem is the bayer2rgb component or the v4l2src.