From 8969a87da16a7aef4ffa02d790d3fee33244daaf Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Wed, 8 Nov 2006 11:27:16 +0000 Subject: 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 * 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! --- ChangeLog | 7 +++++++ sys/dvb/gstdvbsrc.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a2612fb..5b9e442d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-11-08 Zaheer Abbas Merali + + * 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! + 2006-11-07 Zaheer Abbas Merali * sys/dvb/gstdvbsrc.c: (read_device), (gst_dvbsrc_create), 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 ; -- cgit v1.2.1