playbin2 connected to

Steve it at sca-uk.com
Thu Oct 13 17:26:58 PDT 2011


Hi Stefan,

Thanks for this.  There were actually a lot of silly bugs in the code. Too
many to go into here, but the main one I haven't fixed is the caps code:

This doesn't work,

>       gst_element_link_many( videotee, monitorqueue, colorspace,
videosink,
> NULL );
>       gst_element_link_many( videotee, filequeue, NULL );
>  
>       // Create caps stuff
>       GstCaps *caps;
>       caps = gst_caps_new_simple ("video/x-raw-yuv",
>     "framerate", GST_TYPE_FRACTION, 10, 1,
>     NULL);
>       gst_element_link_filtered (filequeue, encoder, caps);
>       gst_element_link_many( encoder, filesink, NULL );

But this does: 

>       gst_element_link_many( videotee, monitorqueue, colorspace,
videosink,
> NULL );
>       gst_element_link_many( videotee, filequeue, encoder, filesink, NULL
);

I still can't see what's not working.

Regards

Steve  



More information about the gstreamer-devel mailing list