mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/playback/gstqueue2.c: Fix build on MacOSX.
Original commit message from CVS: * gst/playback/gstqueue2.c: (gst_queue_create_read): Fix build on MacOSX.
This commit is contained in:
parent
c26bff1afc
commit
8fe34426cb
1 changed files with 1 additions and 1 deletions
|
@ -823,7 +823,7 @@ gst_queue_create_read (GstQueue * queue, guint64 offset, guint length,
|
|||
/* this should not block */
|
||||
GST_LOG_OBJECT (queue, "Reading %d bytes", length);
|
||||
res = fread (GST_BUFFER_DATA (buf), 1, length, queue->temp_file);
|
||||
GST_LOG_OBJECT (queue, "read %d bytes", res);
|
||||
GST_LOG_OBJECT (queue, "read %" G_GSIZE_FORMAT " bytes", res);
|
||||
|
||||
if (G_UNLIKELY (res == 0)) {
|
||||
/* check for errors or EOF */
|
||||
|
|
Loading…
Reference in a new issue