how can i know the result of "cap negotiation"

Stas Sergeev stsp at list.ru
Mon Sep 5 00:17:55 PDT 2011


05.09.2011 05:51, 宋喜佳 wrote
> and now how can i konw the actual format flowing between the srcpad of
> decoder and sinkpad of videosink ?
By installing the handler with
gst_pad_set_setcaps_function().
You can also get the caps directly from
the buffer if you need.

> UYVY or NV12 ? and width, and height... ? how can i know them in this
> example? and how can i program using C languge to get these info ?
See examples of gst_pad_set_setcaps_function() in google. :)


More information about the gstreamer-devel mailing list