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:
Edward Hervey 2007-06-13 18:20:57 +00:00
parent 34dd1db5f3
commit be1f78d2e2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-06-13 Edward Hervey <edward@fluendo.com>
* gst/playback/gstqueue2.c: (gst_queue_create_read):
Fix build on MacOSX.
2007-06-13 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),

View file

@ -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 */