Commit dca6b74b authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Mauro Carvalho Chehab

[media] dvb-usb: don't return error if stream stop

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c8b7ced3
...@@ -26,11 +26,12 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment