Re: [yavta PATCH v2] Return proper error code if STREAMON fails

2015-12-14 Thread Laurent Pinchart
Hi Tuukka, On Monday 14 December 2015 09:49:57 Tuukka Toivonen wrote: > Return the error code if video_enable() and VIDIOC_STREAMON > fails. > > Signed-off-by: Tuukka Toivonen Applied to my tree and pushed, thank you for the patch. > --- > yavta.c | 4 +++- > 1 file changed, 3 insertions(+),

[yavta PATCH v2] Return proper error code if STREAMON fails

2015-12-13 Thread Tuukka Toivonen
Return the error code if video_enable() and VIDIOC_STREAMON fails. Signed-off-by: Tuukka Toivonen --- yavta.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yavta.c b/yavta.c index b627725..3d80d3c 100644 --- a/yavta.c +++ b/yavta.c @@ -1708,7 +1708,9 @@ static int video_