Opened 5 years ago
Closed 5 years ago
Last modified 5 years ago
#13393 closed Patch - Bug Fix (fixed)
"Draining DVB Event failed." message given on success
Reported by: | Klaas de Waal | Owned by: | Klaas de Waal |
---|---|---|---|
Priority: | trivial | Milestone: | 31.0 |
Component: | MythTV - DVB | Version: | Master Head |
Severity: | low | Keywords: | DVB |
Cc: | Stuart Auchterlonie | Ticket locked: | no |
Description
A channelscan with the following command:
mythtv-setup -v general,channel --loglevel=debug
gives for each transport tuned the following message:
2019-01-28 20:22:19.187093 D Draining DVB Event failed. eno: Resource temporarily unavailable (11)
The message is given by the function drain_dvb_events in file dvbchannel.cpp.
The events are read and discarded until there are no more events but then there is always an error message given. The error code is 11 or EAGAIN and this indicates that there is nothing more to read. In this case this means that there are no more events, which is the purpose of the function.
The error message should only be given if the error code is other than EAGAIN.
This is implemented in the attached patch.
Tested with the local DVB-T and DVB-C signals.
Attachments (1)
Change History (5)
Changed 5 years ago by
Attachment: | 20190128-draining-message.patch added |
---|
comment:1 Changed 5 years ago by
Owner: | set to Klaas de Waal |
---|---|
Status: | new → accepted |
comment:2 Changed 5 years ago by
Resolution: | → Fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 5 years ago by
Milestone: | needs_triage → 31.0 |
---|
Commit 18115c2
Fixes #13393 - "Draining DVB Event failed." message given on success
Signed-off-by: Klaas de Waal <mythtv@…>