media: vivid: Set vid_cap_streaming and vid_out_streaming to true
commit b4add02d2236fd5f568db141cfd8eb4290972eb3 upstream.
When vbi stream is started, followed by video streaming,
the vid_cap_streaming and vid_out_streaming were not being set to true,
which would cause the video stream to stop when vbi stream is stopped.
This patch allows to set vid_cap_streaming and vid_out_streaming to true.
According to Hans Verkuil it appears that these 'if (dev->kthread_vid_cap)'
checks are a left-over from the original vivid development and should never
have been there.
Signed-off-by: Vandana BN <email@example.com>
Cc: <firstname.lastname@example.org> # for v3.18 and up
Signed-off-by: Hans Verkuil <email@example.com>
Signed-off-by: Mauro Carvalho Chehab <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>
2 files changed