dvbv5-zap: only open the DVR interface if outputing
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 11 Apr 2014 21:27:48 +0000 (18:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 11 Apr 2014 21:27:48 +0000 (18:27 -0300)
commita94df7cb37b376db51249b2fc08202c2f71ade0c
tree957a16c0002af6db5d3ee77a3e381fe9f5584498
parenta5c81f7914021dab6e05349b3f46922ece2bbd86
dvbv5-zap: only open the DVR interface if outputing

As other processes will be reading the dvr interface, we should
not open it, just announce that the dvr interface is ready.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
utils/dvb/dvbv5-zap.c