diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-12-01 18:04:34 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-12-01 18:04:34 +0200 |
commit | 708fd3c325573b294e1c9a5ebc96ca4194e3e505 (patch) | |
tree | 7da669f041d3c285e6f9336a3cf733c73f982e37 | |
parent | 09e499387d3ffce24a09bf31c365fabb4354013f (diff) |
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.
-rw-r--r-- | gst/rtsp-server/rtsp-media-factory.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |