From: Sebastian Dröge Date: Thu, 1 Dec 2016 16:04:34 +0000 (+0200) Subject: rtsp-media-factory: Don't create a pipeline for the media pipeline string X-Git-Tag: 1.19.3~495^2~448 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=708fd3c325573b294e1c9a5ebc96ca4194e3e505;p=platform%2Fupstream%2Fgstreamer.git rtsp-media-factory: Don't create a pipeline for the media pipeline string We're going to put a pipeline into a pipeline otherwise, which is not exactly ideal. --- diff --git a/gst/rtsp-server/rtsp-media-factory.c b/gst/rtsp-server/rtsp-media-factory.c index 09e5160..9cea6ca 100644 --- a/gst/rtsp-server/rtsp-media-factory.c +++ b/gst/rtsp-server/rtsp-media-factory.c @@ -1414,7 +1414,9 @@ default_create_element (GstRTSPMediaFactory * factory, const GstRTSPUrl * url) goto no_launch; /* parse the user provided launch line */ - element = gst_parse_launch (priv->launch, &error); + element = + gst_parse_launch_full (priv->launch, NULL, GST_PARSE_FLAG_PLACE_IN_BIN, + &error); if (element == NULL) goto parse_error;