test videoscale methods

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Thu Jul 30 08:07:26 PDT 2015


Hello,

2015-07-30 0:33 GMT+02:00 Alejandro Vázquez <vazlup at gmail.com>:
> I try the next where I declared pipe elements i do the next:
>
> GstElement *videoScale = gst_element_factory_make("videoscale",
> "videoScale");
> GstPad *padVideoScale = gst_element_get_pad(videoScale,"padVideoScale");

gst_element_get_pad requests a pad by name, but the videoscale element
does not have any pad named "padVideoScale". The available pads are
named "src" and "sink". This might explain why your callback function
is never called.

By the way, gst_element_get_pad is deprecated (see
http://www.freedesktop.org/software/gstreamer-sdk/data/docs/2012.5/gstreamer-0.10/GstElement.html#gst-element-get-pad).

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com


More information about the gstreamer-devel mailing list