mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
mfc: Require one more output buffer than returned by the driver
This commit is contained in:
parent
79144b7cea
commit
718fe99018
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue