avconv: add a function for determining whether a filtergraph is simple