[RFC] provide a bin to GstRtspMediaFactory

Sebastian Dröge sebastian at centricular.com
Thu Dec 7 14:15:57 UTC 2017


On Thu, 2017-12-07 at 14:33 +0100, Eloi Bail wrote:
> > >
> > > This element is created by gst_parse_launch_full with
> > > GST_PARSE_FLAG_PLACE_IN_BIN.
> > > Should I then modify grammar.tab.c to add my custom flag
> > > GST_PARSE_FLAG_PLACE_IN_MY_BIN which would return a "MyBin"
> > instead
> > > of "GstBin" ?
> > 
> > Don't use gst_parse_launch() but create the bin and other elements
> > normally. There's no need to change any GStreamer code.
> 
> Fine. But rtsp-media-factory does not provide a way to get/set the
> bin except with a "gst-launch" string.
> So how do I create the bin and other elements ? Should I subclass
> the  rtsp-media-factory to create the bin ?

Yes

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171207/6fe1f432/attachment.sig>


More information about the gstreamer-devel mailing list