Gst_caps_new_simple fails

Luca Bacci luca.bacci982 at gmail.com
Sun Jan 20 15:20:44 UTC 2019


Hi, I'm using GStreamer to decode video files and get a sequence of RGB
frames that I paint in a widget of my application. This is the pipeline:

filesrc ! decodebin ! videoconvert ! appsink

I want RGB frames and for that I use the "caps" property of appsink but

GstCaps *caps = gst_caps_new_simple("video/x-raw",
                    "format", G_TYPE_STRING, "xRGB",
                    NULL);

fails and returns NULL caps, why?

Thanks in advance,
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190120/dc104b34/attachment.html>


More information about the gstreamer-devel mailing list