mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
remember to set buffer size.
Original commit message from CVS: remember to set buffer size.
This commit is contained in:
parent
87945fb3a8
commit
f20644277f
4 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue