How to parse current capabilities of a pad in a plugin?

Tim Müller tim at centricular.com
Thu Jan 28 03:38:06 PST 2016


On Thu, 2016-01-28 at 02:44 -0800, ssshukla26 wrote:

> And it worked. 
> 
> But after all what the use of it ? This function is called after
> ::open()
> and ::start() function of GstVideoEncoder base class. 
> 
> I want this "*video/x-
> raw,format=I420,width=640,height=480,framerate=30/1*"
> information before my encoder is initialized in *open* and *start*
> function.
> Else things won't work for me. Can you please suggest a way out ?

You will just have to initialize your encoder in set_format() then :)

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com




More information about the gstreamer-devel mailing list