media: Only add fakesink once per pipeline
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 8 Aug 2015 13:40:09 +0000 (09:40 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 8 Aug 2015 13:46:40 +0000 (09:46 -0400)
commit707ac9c4876be900dd227a648db94fdab78f7324
treea7c6f57442e4fc522d49bce1037438bd65bcae45
parent160b87430f876132199fd105a7de4fc08fa215ad
media: Only add fakesink once per pipeline

The intention is to prevent going PLAYING state before pads are created.
If there was mutilple dynamic payload, it would leak few fakesink and
actually prevent from ever reaching playing state.

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