videotestsrc: do not set TIME duration when asked for another format
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 10 Jan 2014 09:53:21 +0000 (09:53 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 10 Jan 2014 09:56:34 +0000 (09:56 +0000)
commit1185fbd29acfa207cb32b8015014f5cd70cbfa9a
treeb15b98a575cb1a3d1c1442a162d1eb373d9cfa64
parent4ff4c1c10aebf0a1cf1623572d6d66864aebac60
videotestsrc: do not set TIME duration when asked for another format

This fixes asserts in pipelines such as:

gst-launch-1.0 videotestsrc num-buffers=1000 ! x264enc ! h264parse ! \
   matroskamux name=mux ! filesink location=test.mkv
gst/videotestsrc/gstvideotestsrc.c