projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d5db4
)
Timeout is not used on W32
author
Руслан Ижбулатов
<lrn1986@gmail.com>
Sat, 31 Mar 2012 23:30:51 +0000
(
03:30
+0400)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 2 Apr 2012 09:24:26 +0000
(11:24 +0200)
Fixes #673267
plugins/elements/gstfdsrc.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstfdsrc.c
b/plugins/elements/gstfdsrc.c
index
6cae433
..
65cbbbc
100644
(file)
--- 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;