videotestsrc: ensure having caps when setting the buffer pool config
authorJulien Isorce <julien.isorce@collabora.co.uk>
Fri, 31 Jan 2014 13:40:36 +0000 (13:40 +0000)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Fri, 31 Jan 2014 14:09:03 +0000 (14:09 +0000)
commitc9b493b853e2c28ad0090b063acf88ae97f080a6
treeb3d2fcfd68a751bffe987745e322e44d2a841f57
parent01bfc79766d2ef796fab00b85acbc1ccbe8bdf96
videotestsrc: ensure having caps when setting the buffer pool config

It happens if downstream does not propose a buffer pool.
GST_DEBUG=2 gst-launch-1.0 videotestsrc ! fakesink

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