[Bug 732643] dvbcam: error witing TPDU (5): Input/output error afther being connected

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 22 16:58:20 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732643
  GStreamer | gst-plugins-bad | 1.4.0

--- Comment #18 from Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> 2014-08-22 23:58:15 UTC ---
(In reply to comment #10)
> i think this might be related to the problem:
> 
>  if (ioctl (fe_fd, FE_READ_STATUS, &status) ||
> +      ioctl (fe_fd, FE_READ_SIGNAL_STRENGTH, &_signal) ||
> +      ioctl (fe_fd, FE_READ_SNR, &snr) ||
> +      ioctl (fe_fd, FE_READ_BER, &ber) ||
> +      ioctl (fe_fd, FE_READ_UNCORRECTED_BLOCKS, &uncorrected_blocks)) {
> +    GST_WARNING_OBJECT (src, "Failed to get statistics from the device");
> +    return;
> +  }
> 
> i guess that one (or more) of these fail so it gets the warning and returns,
> why and how to check i do not know, is htere a way (program) to run these
> commands (ioctl) manually or to see the return values?

Are you actually getting this warning? I don't see it in your log.

Whatever the case the block you pasted from _output_frontend_stats()
does needs some work. Those ioctl need to wrapped around LOOP_WHILE_EINTR
(as they can a do return EINTR from time to time) for example but
I'm pretty sure this is not the reason for your failure. Don't take
my word for granted though and try commenting out the calls to
gst_dvbsrc_output_frontend_stats () and see for yourself. You should
see no difference.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list