Original commit message from CVS:
* gst/elements/gstfdsrc.c: (gst_fdsrc_get):
set the first parameter for select call correctly.
(fixes #137230)
+2004-03-15 Benjamin Otte <otte@gnome.org>
+
+ * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
+ set the first parameter for select call correctly.
+ (fixes #137230)
+
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* *.c,*.h: don't mix tabs and spaces
tp = NULL;
do {
- retval = select (1, &readfds, NULL, NULL, tp);
+ retval = select (src->fd + 1, &readfds, NULL, NULL, tp);
} while (retval == -1 && errno == EINTR); /* retry if interrupted */
if (retval == -1) {
tp = NULL;
do {
- retval = select (1, &readfds, NULL, NULL, tp);
+ retval = select (src->fd + 1, &readfds, NULL, NULL, tp);
} while (retval == -1 && errno == EINTR); /* retry if interrupted */
if (retval == -1) {