aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2023-02-01 14:06:47 +0100
committerMauro Carvalho Chehab <[email protected]>2023-03-19 22:09:55 +0100
commit2f8c0810af739ec3587d00bf36cc5a6a0139be1a (patch)
treeea1b972a2c4fefc913fe6e5233efb5ef10739ae5 /tools/perf/scripts/python/bin
parent55f1ecb1199000932cf82e357841cc7498ac904f (diff)
media: vb2: set owner before calling vb2_read
Before vb2_read is called, the owner must be set since vb2_read will actually start streaming. If vb2_read returns an error and q->fileio is NULL, then it failed to start streaming and the owner is set back to NULL. When the vb2 start_streaming callback is called, it expects the owner pointer to be set, and that wasn't the case in this particular situation. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions