how can i know the result of "cap negotiation"
Wim Taymans
wim.taymans at gmail.com
Mon Sep 5 00:25:25 PDT 2011
On 09/04/2011 11:36 AM, 宋喜佳 wrote:
> Hi friends,
> Maybe it is really a simple question, but I am afraid that i do not
> now the answer. that is how can i know the final result of cap
> negotiation. the caps of a pad tell us all of possible formats it can
> support, but at actual running time, how can i know the format it is
> using?
Use the caps property on the pad or use gst_pad_get_negotiated_caps() on
linked pads.
Wim
> for example, we know the ffmpegcolorspace plugin support many formats
> at its srcpad, but at running time ,when linked to a sink element
> ,which supports many formats too, how can i know the final format they
> use after cap negotiation ? ( I program with C language)
>
> thank you in advance!
>
> Xijia
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list