GhostPad and Playbin2

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Mar 28 09:16:58 PDT 2011


On Mon, 2011-03-28 at 11:06 -0400, Rodney Dowdall wrote:

Hi,

>     gst_element_link_many(videoconv, videoqueue, videoscale,
> videorate, flt,  videosink, NULL);
>     gst_bin_add_many(GST_BIN(gs_data->video), videoconv, videoqueue,
> videoscale, videorate, flt, videosink,  NULL);

Try adding the elements before linking them.

You might also be interested in the appsink element btw. If it wasn't
for the videorate element you wouldn't need the whole bin at all with an
appsink element (it would be enough to just set the caps and let the
ffmpegcolorspace/videoscale in playbin2 do the conversions).

 Cheers
  -Tim



More information about the gstreamer-devel mailing list