summaryrefslogtreecommitdiffstats
path: root/sys/dvb/gstdvbsrc.c
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2006-11-08 11:27:16 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2006-11-08 11:27:16 +0000
commit8969a87da16a7aef4ffa02d790d3fee33244daaf (patch)
tree66557078a606b29f5093a2be8138f9a412e77940 /sys/dvb/gstdvbsrc.c
parent303b9278c7c6a403f9f268b8e6557cb87548010e (diff)
downloadgst-plugins-bad-8969a87da16a7aef4ffa02d790d3fee33244daaf.tar.gz
gst-plugins-bad-8969a87da16a7aef4ffa02d790d3fee33244daaf.tar.bz2
gst-plugins-bad-8969a87da16a7aef4ffa02d790d3fee33244daaf.zip
sys/dvb/gstdvbsrc.c: Do not call output_frontend_stats from a method that does not have the gstdvbsrc object.
Original commit message from CVS: 2006-11-08 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (read_device): Do not call output_frontend_stats from a method that does not have the gstdvbsrc object. This fixes the build, sorry guys!
Diffstat (limited to 'sys/dvb/gstdvbsrc.c')
-rw-r--r--sys/dvb/gstdvbsrc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
index 2a16bdda..3554603c 100644
--- a/sys/dvb/gstdvbsrc.c
+++ b/sys/dvb/gstdvbsrc.c
@@ -801,7 +801,6 @@ read_device (int fd, const char *fd_name, int size)
GST_WARNING
("Unable to read from device after %u attempts: %s",
attempts, fd_name);
- gst_dvbsrc_output_frontend_stats (src);
}
} else
@@ -816,7 +815,6 @@ read_device (int fd, const char *fd_name, int size)
if (attempts % 10 == 0) {
GST_WARNING ("Unable to read after %u attempts from device: %s (%d)",
attempts, fd_name, errno);
- gst_dvbsrc_output_frontend_stats (src);
}
} else if (errno == -EINTR) { // poll interrupted
;