rtsp-media-factory: Add FIXME for 2.0

This commit is contained in:
Sebastian Dröge 2015-12-30 16:30:38 +02:00
parent 3d6b93bcd3
commit 6b76c02552

View file

@ -1330,6 +1330,11 @@ default_create_pipeline (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
GstElement *pipeline;
pipeline = gst_pipeline_new ("media-pipeline");
/* FIXME 2.0: This should be done by the caller, not the vfunc. Every
* implementation of the vfunc has to call it otherwise at the end.
* Also it does not allow use to add further behaviour here that could
* be reused by subclasses that chain up */
gst_rtsp_media_take_pipeline (media, GST_PIPELINE_CAST (pipeline));
return pipeline;