From f140cb8dbdc9b4cdffeb7d75fe567b6470aa07c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sun, 1 Apr 2012 03:30:51 +0400 Subject: [PATCH] Timeout is not used on W32 Fixes #673267 --- plugins/elements/gstfdsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index 6cae433003..65cbbbc15b 100644 --- a/plugins/elements/gstfdsrc.c +++ b/plugins/elements/gstfdsrc.c @@ -392,23 +392,23 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf) GstBuffer *buf; gssize readbytes; guint blocksize; - GstClockTime timeout; GstMapInfo info; #ifndef HAVE_WIN32 + GstClockTime timeout; gboolean try_again; gint retval; #endif src = GST_FD_SRC (psrc); +#ifndef HAVE_WIN32 if (src->timeout > 0) { timeout = src->timeout * GST_USECOND; } else { timeout = GST_CLOCK_TIME_NONE; } -#ifndef HAVE_WIN32 do { try_again = FALSE;