autovideosink not selecting appropriate sink for RGB(A) caps
The following pipeline fails:
gst-launch-1.0 videotestsrc ! "video/x-raw, format=(string)RGB, width=(int)1920, height=(int)1080" ! autovideosink
ERREUR : de l’élément /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0 : Internal data stream error.
However, using glimagesink does work: gst-launch-1.0 videotestsrc ! "video/x-raw, format=(string)RGB, width=(int)1920, height=(int)1080" ! glimagesink
Should autovideosink not select glimagesink in that case, and not xvimagesink
?
INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create:^[[00m creating element "xvimagesink" named "autovideosink0-actual-sink-xvimage"
I discovered it by trying to display a png image with gst-launch-1.0 filesrc location=test.png ! decodebin ! autovideosink