Commit c4c28a76 authored by David Schleef's avatar David Schleef
Browse files

gst/playback/gstqueue2.c: Fix compile error from ignored return value.

Original commit message from CVS:
* gst/playback/gstqueue2.c:
Fix compile error from ignored return value.
parent 6077bc01
2007-06-15 David Schleef <ds@schleef.org>
* gst/playback/gstqueue2.c:
Fix compile error from ignored return value.
2007-06-15 Michael Smith <msmith@fluendo.com>
 
* gst/videoscale/vs_4tap.c: (vs_image_scale_4tap_Y):
......@@ -767,13 +767,18 @@ gst_queue_write_buffer_to_file (GstQueue * queue, GstBuffer * buffer)
{
guint size;
guint8 *data;
int ret;
fseek (queue->temp_file, queue->writing_pos, SEEK_SET);
data = GST_BUFFER_DATA (buffer);
size = GST_BUFFER_SIZE (buffer);
fwrite (data, 1, size, queue->temp_file);
ret = fwrite (data, 1, size, queue->temp_file);
if (ret < size) {
/* FIXME do something useful here */
GST_ERROR_OBJECT (queue, "fwrite returned error");
}
queue->writing_pos += size;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment