mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
mfc: fix input dequeue for odroid
https://bugzilla.gnome.org/show_bug.cgi?id=721027
This commit is contained in:
parent
585a6c4add
commit
dedb95dc6f
1 changed files with 5 additions and 0 deletions
|
@ -529,9 +529,14 @@ int mfc_dec_enqueue_input(struct mfc_dec_context *ctx, struct mfc_buffer *buffer
|
|||
|
||||
static int input_dqbuf(struct mfc_dec_context *ctx, struct mfc_buffer **buffer)
|
||||
{
|
||||
struct v4l2_plane planes[NUM_INPUT_PLANES] = {{.length = 0}};
|
||||
struct v4l2_buffer qbuf = {
|
||||
.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
|
||||
.memory = V4L2_MEMORY_MMAP,
|
||||
.length = NUM_INPUT_PLANES,
|
||||
.m = {
|
||||
.planes = planes,
|
||||
}
|
||||
};
|
||||
struct pollfd fd = {
|
||||
.fd = ctx->fd,
|
||||
|
|
Loading…
Reference in a new issue