Commit 68cd75c0 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vout_subpictures: make sure the scaler/converter doesn't expect draining calls

parent 85731ef6
...@@ -310,6 +310,8 @@ static filter_t *SpuRenderCreateAndLoadScale(vlc_object_t *object, ...@@ -310,6 +310,8 @@ static filter_t *SpuRenderCreateAndLoadScale(vlc_object_t *object,
return NULL; return NULL;
} }
assert( scale->ops != NULL ); assert( scale->ops != NULL );
// converters shouldn't have multiple outputs
assert( scale->ops->drain_video == NULL);
return scale; return scale;
} }
......
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