On Di, 2016-03-15 at 16:10 -0700, Andres Gonzalez wrote:
> I cannot find the: gst_video_format_new_caps() routine.
>
> The older .10 documentation says it is in /gst/video/video.h however
> I
> cannot find it in my 1.6.3 source tree.
>
> Was this function removed from the 1.0 versions going forward or can
> it be found elsewhere?
The API in 1.x is different. Look at the GstVideoInfo API, e.g.
GstVideoInfo info;
GstCaps *caps;
gst_video_info_set_format(&info, GST_VIDEO_FORMAT_I420, 1920, 1080);
caps = gst_video_info_to_caps(&info);
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel