Commit 3f50c72a authored by Laurent Aimar's avatar Laurent Aimar

Properly reset pictures created for vout filters.

parent e2ec60ce
......@@ -662,8 +662,10 @@ static picture_t *VoutVideoFilterInteractiveNewPicture(filter_t *filter)
vout_thread_t *vout = (vout_thread_t*)filter->p_owner;
picture_t *picture = picture_pool_Get(vout->p->private_pool);
if (picture)
if (picture) {
VideoFormatCopyCropAr(&picture->format, &filter->;
return picture;
static picture_t *VoutVideoFilterStaticNewPicture(filter_t *filter)
Markdown is supported
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