rtsp-media-factory: Add FIXME for 2.0
authorSebastian Dröge <sebastian@centricular.com>
Wed, 30 Dec 2015 14:30:38 +0000 (16:30 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 30 Dec 2015 14:30:38 +0000 (16:30 +0200)
gst/rtsp-server/rtsp-media-factory.c

index ac6ce1f..82afff5 100644 (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;