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!
This commit is contained in:
Zaheer Abbas Merali 2006-11-08 11:27:16 +00:00
parent 303b9278c7
commit 8969a87da1
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,10 @@
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!
2006-11-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/dvb/gstdvbsrc.c: (read_device), (gst_dvbsrc_create),

View file

@ -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
;