rtspsrc: skip streams with same control url
authorWim Taymans <wtaymans@redhat.com>
Thu, 6 Mar 2014 11:24:01 +0000 (12:24 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 6 Mar 2014 11:30:54 +0000 (12:30 +0100)
commit224239096df26f9d32c7172c9786ef82aeac1367
tree57f98c3fea4df0695c99d1e0fd76c842527e31ed
parent3b27fc2f0f3cdd088b8b3c5371988ba8fca2395f
rtspsrc: skip streams with same control url

Keep track of what streams we did the SETUP for. We only need to
configure caps, wait for pads and push events on setup streams. We can
remove the disabled state of the stream and simplify some checks.
After we setup a stream, skip the other streams that have the same
control url. Use a skipped flag to mark streams that should be skipped.
gst/rtsp/gstrtspsrc.c
gst/rtsp/gstrtspsrc.h