multifilesrc: fix stop index handling
authorStas Sergeev <stsp@aknet.ru>
Fri, 26 Oct 2012 09:33:03 +0000 (10:33 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2012 10:04:01 +0000 (11:04 +0100)
commit238a5ec8260f419e321ce9030e1f252b6996edfc
treea6ec032100fcfad654ef5a5a769bd18e83e8592f
parent78193dfe71fc3c186df4b6fd5f504bd05ae7980f
multifilesrc: fix stop index handling

Make sure the stop index is always honoured. Avoids
endless loop if one wants to read and output the same
file N times, for example.

https://bugzilla.gnome.org/show_bug.cgi?id=654853
gst/multifile/gstmultifilesrc.c