fix bug #47: use stream time to stop for duration of rtmpdump