mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
parent
a3d5db491c
commit
f140cb8dbd
1 changed files with 2 additions and 2 deletions
|
@ -392,23 +392,23 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
GstBuffer *buf;
|
GstBuffer *buf;
|
||||||
gssize readbytes;
|
gssize readbytes;
|
||||||
guint blocksize;
|
guint blocksize;
|
||||||
GstClockTime timeout;
|
|
||||||
GstMapInfo info;
|
GstMapInfo info;
|
||||||
|
|
||||||
#ifndef HAVE_WIN32
|
#ifndef HAVE_WIN32
|
||||||
|
GstClockTime timeout;
|
||||||
gboolean try_again;
|
gboolean try_again;
|
||||||
gint retval;
|
gint retval;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
src = GST_FD_SRC (psrc);
|
src = GST_FD_SRC (psrc);
|
||||||
|
|
||||||
|
#ifndef HAVE_WIN32
|
||||||
if (src->timeout > 0) {
|
if (src->timeout > 0) {
|
||||||
timeout = src->timeout * GST_USECOND;
|
timeout = src->timeout * GST_USECOND;
|
||||||
} else {
|
} else {
|
||||||
timeout = GST_CLOCK_TIME_NONE;
|
timeout = GST_CLOCK_TIME_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef HAVE_WIN32
|
|
||||||
do {
|
do {
|
||||||
try_again = FALSE;
|
try_again = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue