[media] dvb-usb: don't return error if stream stop
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
c8b7ced346
commit
dca6b74bb3
@@ -26,11 +26,12 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
|
|||||||
|
|
||||||
if (adap->props.streaming_ctrl != NULL) {
|
if (adap->props.streaming_ctrl != NULL) {
|
||||||
ret = adap->props.streaming_ctrl(adap, 0);
|
ret = adap->props.streaming_ctrl(adap, 0);
|
||||||
|
if (ret < 0) {
|
||||||
err("error while stopping stream.");
|
err("error while stopping stream.");
|
||||||
if (ret < 0)
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
adap->feedcount = newfeedcount;
|
adap->feedcount = newfeedcount;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user