Le mardi 27 juin 2017 à 20:03 -0700, CC a écrit :
> The code I create rtph264depay RTP capabilities is below.
>
> ...
> GstCaps *caps;
>
> caps = gst_caps_new_simple ("application/x-rtp",
> "encoding-name", G_TYPE_STRING,
> "H264",
> "payload", G_TYPE_INT, 107, NULL);
>
> if (!GST_IS_CAPS(caps)) {
> g_printerr ("caps null ??.\n");
> return -1;
> }
> ...
I have simply copy pasted your test and ran it, it works. Did you
forget to call gst_init() ?
You can find the test here, see first line for compilation:
https://paste.fedoraproject.org/paste/yZvnpiiHjXdftWlYHao1WgNicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel