From: Руслан Ижбулатов Date: Sat, 31 Mar 2012 23:30:51 +0000 (+0400) Subject: Timeout is not used on W32 X-Git-Tag: RELEASE-0.11.90~47^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f140cb8dbdc9b4cdffeb7d75fe567b6470aa07c3;p=platform%2Fupstream%2Fgstreamer.git Timeout is not used on W32 Fixes #673267 --- diff --git a/plugins/elements/gstfdsrc.c b/plugins/elements/gstfdsrc.c index 6cae433..65cbbbc 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;