mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +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
34dd1db5f3
commit
be1f78d2e2
2 changed files with 6 additions and 1 deletions
|
@ -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),
|
||||
|
|
|
@ -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