* [PATCH] [libdvbv5] basic support for videoX and audioX devices
@ 2018-06-25 20:08 Robert Paciorek
0 siblings, 0 replies; only message in thread
From: Robert Paciorek @ 2018-06-25 20:08 UTC (permalink / raw)
To: linux-media
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
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
[-- Attachment #2: video_audio_dev.patch --]
[-- Type: text/x-patch, Size: 700 bytes --]
diff --git a/lib/include/libdvbv5/dvb-dev.h b/lib/include/libdvbv5/dvb-dev.h
index 6dbd2ae..2eeae51 100644
--- a/lib/include/libdvbv5/dvb-dev.h
+++ b/lib/include/libdvbv5/dvb-dev.h
@@ -62,6 +62,8 @@ enum dvb_dev_type {
DVB_DEVICE_NET,
DVB_DEVICE_CA,
DVB_DEVICE_CA_SEC,
+ DVB_DEVICE_VIDEO,
+ DVB_DEVICE_AUDIO,
};
/**
diff --git a/lib/libdvbv5/dvb-dev.c b/lib/libdvbv5/dvb-dev.c
index 9a0952b..c379f40 100644
--- a/lib/libdvbv5/dvb-dev.c
+++ b/lib/libdvbv5/dvb-dev.c
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-25 20:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 20:08 [PATCH] [libdvbv5] basic support for videoX and audioX devices Robert Paciorek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox