Gst_caps_new_simple fails
Tim-Philipp Müller
t.i.m at zen.co.uk
Tue Jan 22 12:16:40 UTC 2019
On Sun, 2019-01-20 at 16:20 +0100, Luca Bacci wrote:
Hi Luca,
> 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?
I don't know why this would fail. Is it actually this call that fails
or and returns NULL, or does something else fail later?
Did you call gst_init()?
I might be missing something, but it doesn't make much sense at first
glance.
Cheers
Tim
More information about the gstreamer-devel
mailing list