Le mercredi 16 novembre 2016 à 04:23 -0800, Baby Octopus a écrit :
> I'm getting GstBuffer *buffer in the callback. How can I extract
> GstVideoInfo fro GstBuffer?
You can't. You need to track the GST_CAPS_EVENT. This is of type
GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM. Then you can use
gst_event_parse_caps() and gst_video_info_from_caps().
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel