[mythtv-commits] Ticket #13393: "Draining DVB Event failed." message given on success
MythTV
noreply at mythtv.org
Mon Jan 28 20:07:49 UTC 2019
#13393: "Draining DVB Event failed." message given on success
---------------------------------+--------------------------
Reporter: Klaas de Waal | Owner: (none)
Type: Patch - Bug Fix | Status: new
Priority: trivial | Milestone: needs_triage
Component: MythTV - DVB | Version: Master Head
Severity: low | Keywords: DVB
Ticket locked: 0 |
---------------------------------+--------------------------
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.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13393>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list