mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
Made collect_streams function public
This commit is contained in:
parent
e417d83dce
commit
045875ecbe
2 changed files with 7 additions and 3 deletions
|
@ -400,8 +400,8 @@ parse_error:
|
|||
|
||||
/* try to find all the payloader elements, they should be named 'pay%d'. for
|
||||
* each of the payloaders we will create a stream and collect the source pad. */
|
||||
static void
|
||||
collect_streams (GstRTSPMediaFactory *factory, const GstRTSPUrl *url,
|
||||
void
|
||||
gst_rtsp_media_factory_collect_streams (GstRTSPMediaFactory *factory, const GstRTSPUrl *url,
|
||||
GstRTSPMedia *media)
|
||||
{
|
||||
GstElement *element, *elem;
|
||||
|
@ -478,7 +478,7 @@ default_construct (GstRTSPMediaFactory *factory, const GstRTSPUrl *url)
|
|||
|
||||
media->pipeline = klass->create_pipeline (factory, media);
|
||||
|
||||
collect_streams (factory, url, media);
|
||||
gst_rtsp_media_factory_collect_streams (factory, url, media);
|
||||
|
||||
return media;
|
||||
|
||||
|
|
|
@ -111,6 +111,10 @@ gboolean gst_rtsp_media_factory_is_shared (GstRTSPMediaFactory *
|
|||
GstRTSPMedia * gst_rtsp_media_factory_construct (GstRTSPMediaFactory *factory,
|
||||
const GstRTSPUrl *url);
|
||||
|
||||
void gst_rtsp_media_factory_collect_streams (GstRTSPMediaFactory *factory,
|
||||
const GstRTSPUrl *url,
|
||||
GstRTSPMedia *media);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_RTSP_MEDIA_FACTORY_H__ */
|
||||
|
|
Loading…
Reference in a new issue