rtsp-stream: fix to get valid each stream data for request-aux-sender signal
authorHyunjun Ko <zzoon.ko@samsung.com>
Wed, 15 Apr 2015 00:45:23 +0000 (09:45 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 15 Apr 2015 13:14:04 +0000 (15:14 +0200)
commitde590b4b2a8aa1c9de9bf263cd63e23aca4ca0ea
treee21d9bb557b50226b81f4213f087dae4f888720f
parentbff66c00041b9b009f7e10f294f3ae683737bfb7
rtsp-stream: fix to get valid each stream data for request-aux-sender signal

Because of duplicated g_signal_connect for request-aux-sender signal,
wrong stream pointer is passed to the signal handler.
Instead of passing each stream, pass stream array and get the relevant stream.

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