mfc: Require one more output buffer than returned by the driver
This commit is contained in:
parent
79144b7cea
commit
718fe99018
@ -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");
|
GST_ERROR ("Failed to get number of output buffers required");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
ctx->required_output_buffers = ctrl.value;
|
ctx->required_output_buffers = ctrl.value + 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user