factory: keep ref to factory while media active
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Nov 2012 11:29:55 +0000 (12:29 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Nov 2012 11:29:55 +0000 (12:29 +0100)
commit37a7ec8033511cc8950047daad7e28953b9f5fe9
treeacad1dd3322bbb8bfce8d13044fd760340022944
parent8fcdca987daad1b30404cd8fc4726ff7f744a0f1
factory: keep ref to factory while media active

While the media from a factory is alive, keep a ref to the factory.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=663555
gst/rtsp-server/rtsp-media-factory.c