videotestsrc: implement reverse playback
authorThiago Santos <ts.santos@partner.samsung.com>
Tue, 8 Oct 2013 03:08:34 +0000 (00:08 -0300)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 8 Oct 2013 13:34:47 +0000 (09:34 -0400)
commit866f132821086359c699f0058b73b4e12e1dc2f6
treee88e2e00248a6658cf133dd883ae2b506bcc9cef
parent9269bee9bd92ec82167f3b197f1a54f6474ab617
videotestsrc: implement reverse playback

Decrement the n_frames counter when doing reverse playback to
have timestamps and offsets reducing instead of increasing

https://bugzilla.gnome.org/show_bug.cgi?id=701813
gst/videotestsrc/gstvideotestsrc.c
gst/videotestsrc/gstvideotestsrc.h