seek: Accept pipeline descriptions for audiosink/videosink
authorJan Schmidt <thaytan@noraisin.net>
Tue, 30 Aug 2011 08:21:31 +0000 (18:21 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 30 Aug 2011 08:21:31 +0000 (18:21 +1000)
commit33d491a04f45045a3efc3d5c24136b8a229f5cf3
tree7f5d873b2d4623edaeae30139c805bec93d7dab3
parent105814e2c78f9867c61531b9e8166e4ae994296f
seek: Accept pipeline descriptions for audiosink/videosink

Make the element_factory_make_or_warn utility function try parsing
the input string as a bin if element_factory_make() fails. This makes
the --audiosink/--videosink commandline options accept a pipeline
string.
tests/examples/seek/seek.c