client: never call gst_rtsp_media_unprepare, let gst_rtsp_media_finalize do it
authorAlessandro Decina <alessandro.d@gmail.com>
Fri, 30 Nov 2012 06:05:25 +0000 (07:05 +0100)
committerAlessandro Decina <alessandro.d@gmail.com>
Fri, 30 Nov 2012 06:06:17 +0000 (07:06 +0100)
commitba5b78ff2ff223049188eb456e228c709ccd3e05
treebabeff73662897a8802af1f5477ae91a47e0a971
parent00d9a94e1aafdf52de608e6a0e497a1e5fb755c5
client: never call gst_rtsp_media_unprepare, let gst_rtsp_media_finalize do it

Calling gst_rtsp_media_unprepare breaks shared medias. Just unref
GstRTSPMedia instances and let gst_rtsp_media_finalize unprepare when a media
isn't being used anymore.
gst/rtsp-server/rtsp-client.c