Commit 06aa3932 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

image: make sure the converter doesn't expect draining calls

parent 9ba6904c
......@@ -813,6 +813,8 @@ static filter_t *CreateConverter( vlc_object_t *p_this,
return NULL;
}
assert( p_filter->ops != NULL );
// converters shouldn't have multiple outputs
assert( p_filter->ops->drain_video == NULL );
return p_filter;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment