mfc: Require one more output buffer than returned by the driver

This commit is contained in:
Sebastian Dröge 2013-01-02 16:38:47 +01:00
parent 79144b7cea
commit 718fe99018

View file

@ -370,7 +370,7 @@ static int get_minimum_output_buffers(struct mfc_dec_context *ctx)
GST_ERROR ("Failed to get number of output buffers required");
return -1;
}
ctx->required_output_buffers = ctrl.value;
ctx->required_output_buffers = ctrl.value + 1;
return 0;
}