basic support for videoX and audioX devices
PATCH 1/1 basic support for videoX and audioX devices
Hi,
currently libdvbv5 generate warning about ignoring dvb output devices (videoX and audioX):
WARNING Ignoring device /dev/dvb/adapter0/audio0 WARNING Ignoring device /dev/dvb/adapter0/video0
and does not allow search and open those devices.
DVB output device are used (for example) in Linux based STB devices and IMHO would be nice to be able to handle them with libdvbv5.
Attached patch enabled elementary support for those devices - remove warning and allow search it by dvb_dev_seek_by_adapter(), open and close with dvb_dev_* functions.
Best Regards,
Robert Paciorek
lib/include/libdvbv5/dvb-dev.h +2 -0
@@ -62,6 +62,8 @@ enum dvb_dev_type {DVB_DEVICE_NET ,DVB_DEVICE_CA ,DVB_DEVICE_CA_SEC , +DVB_DEVICE_VIDEO , + DVB_DEVICE_AUDIO, };/**
lib/libdvbv5/dvb-dev.c +1 -1
@@ -37,7 +37,7 @@#endif const char *const dev_type_names[] = { -"frontend" ,"demux" ,"dvr" ,"net" ,"ca" ,"sec" +"frontend" ,"demux" ,"dvr" ,"net" ,"ca" ,"sec" ,"video" ,"audio" }; const unsigned int