factory-uri: add some debug

This commit is contained in:
Wim Taymans 2012-11-20 12:29:26 +01:00
parent 1826844ee4
commit 8fcdca987d

View file

@ -158,6 +158,8 @@ gst_rtsp_media_factory_uri_init (GstRTSPMediaFactoryURI * factory)
{
FilterData data = { NULL, NULL, NULL };
GST_DEBUG_OBJECT (factory, "new");
factory->uri = g_strdup (DEFAULT_URI);
factory->use_gstpay = DEFAULT_USE_GSTPAY;
@ -181,6 +183,8 @@ gst_rtsp_media_factory_uri_finalize (GObject * obj)
{
GstRTSPMediaFactoryURI *factory = GST_RTSP_MEDIA_FACTORY_URI (obj);
GST_DEBUG_OBJECT (factory, "finalize");
g_free (factory->uri);
gst_plugin_feature_list_free (factory->demuxers);
gst_plugin_feature_list_free (factory->payloaders);