Allowing for rate < 0 enables rewind playback for eg: RTSP streams.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 19 Nov 2008 15:07:34 +0000 (16:07 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Thu, 20 Nov 2008 15:17:45 +0000 (16:17 +0100)
commitf76cff41026a8c812644a57db33c4d2d846cf55a
tree87d1e1716bed37ca61afed1474a9886b913b6a2d
parent48fd6e792fbb1552d6a7f72a795b998ccebb871a
Allowing for rate < 0 enables rewind playback for eg: RTSP streams.

Don't allow rate < 0 when p_input->p->input.b_rescale_ts is true.
Setting b_rescale_ts to true says to vlc, rescale the timestamp.
Setting it to false is like saying, I can completely handle the rate, just aknoledge the fact that the rate is not the default one.
src/input/input.c