Made collect_streams function public

This commit is contained in:
Sebastian Pölsterl 2009-06-12 17:51:44 +02:00 committed by Wim Taymans
parent e417d83dce
commit 045875ecbe
2 changed files with 7 additions and 3 deletions

View file

@ -400,8 +400,8 @@ parse_error:
/* try to find all the payloader elements, they should be named 'pay%d'. for /* 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. */ * each of the payloaders we will create a stream and collect the source pad. */
static void void
collect_streams (GstRTSPMediaFactory *factory, const GstRTSPUrl *url, gst_rtsp_media_factory_collect_streams (GstRTSPMediaFactory *factory, const GstRTSPUrl *url,
GstRTSPMedia *media) GstRTSPMedia *media)
{ {
GstElement *element, *elem; GstElement *element, *elem;
@ -478,7 +478,7 @@ default_construct (GstRTSPMediaFactory *factory, const GstRTSPUrl *url)
media->pipeline = klass->create_pipeline (factory, media); media->pipeline = klass->create_pipeline (factory, media);
collect_streams (factory, url, media); gst_rtsp_media_factory_collect_streams (factory, url, media);
return media; return media;

View file

@ -111,6 +111,10 @@ gboolean gst_rtsp_media_factory_is_shared (GstRTSPMediaFactory *
GstRTSPMedia * gst_rtsp_media_factory_construct (GstRTSPMediaFactory *factory, GstRTSPMedia * gst_rtsp_media_factory_construct (GstRTSPMediaFactory *factory,
const GstRTSPUrl *url); const GstRTSPUrl *url);
void gst_rtsp_media_factory_collect_streams (GstRTSPMediaFactory *factory,
const GstRTSPUrl *url,
GstRTSPMedia *media);
G_END_DECLS G_END_DECLS
#endif /* __GST_RTSP_MEDIA_FACTORY_H__ */ #endif /* __GST_RTSP_MEDIA_FACTORY_H__ */