remember to set buffer size.

Original commit message from CVS:
remember to set buffer size.
This commit is contained in:
David Schleef 2003-10-07 21:56:36 +00:00
parent 87945fb3a8
commit f20644277f
4 changed files with 4 additions and 0 deletions

View file

@ -230,6 +230,7 @@ gst_multidisksrc_get (GstPad *pad)
/* simply set the buffer to point to the correct region of the file */
GST_BUFFER_DATA (buf) = src->map;
GST_BUFFER_SIZE (buf) = src->size;
GST_BUFFER_OFFSET (buf) = 0;
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_DONTFREE);

View file

@ -230,6 +230,7 @@ gst_multidisksrc_get (GstPad *pad)
/* simply set the buffer to point to the correct region of the file */
GST_BUFFER_DATA (buf) = src->map;
GST_BUFFER_SIZE (buf) = src->size;
GST_BUFFER_OFFSET (buf) = 0;
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_DONTFREE);

View file

@ -230,6 +230,7 @@ gst_multidisksrc_get (GstPad *pad)
/* simply set the buffer to point to the correct region of the file */
GST_BUFFER_DATA (buf) = src->map;
GST_BUFFER_SIZE (buf) = src->size;
GST_BUFFER_OFFSET (buf) = 0;
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_DONTFREE);

View file

@ -230,6 +230,7 @@ gst_multidisksrc_get (GstPad *pad)
/* simply set the buffer to point to the correct region of the file */
GST_BUFFER_DATA (buf) = src->map;
GST_BUFFER_SIZE (buf) = src->size;
GST_BUFFER_OFFSET (buf) = 0;
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_DONTFREE);