mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
Original commit message from CVS: Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
This commit is contained in:
parent
63bc38c519
commit
e3cfc0c701
2 changed files with 2 additions and 2 deletions
|
@ -380,7 +380,7 @@ gst_filesink_chain (GstPad *pad, GstBuffer *buf)
|
|||
|
||||
if (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN))
|
||||
{
|
||||
size_t bytes_written = 0;
|
||||
guint bytes_written = 0;
|
||||
do {
|
||||
size_t wrote = fwrite (GST_BUFFER_DATA (buf) + bytes_written, 1,
|
||||
GST_BUFFER_SIZE (buf) - bytes_written,
|
||||
|
|
|
@ -380,7 +380,7 @@ gst_filesink_chain (GstPad *pad, GstBuffer *buf)
|
|||
|
||||
if (GST_FLAG_IS_SET (filesink, GST_FILESINK_OPEN))
|
||||
{
|
||||
size_t bytes_written = 0;
|
||||
guint bytes_written = 0;
|
||||
do {
|
||||
size_t wrote = fwrite (GST_BUFFER_DATA (buf) + bytes_written, 1,
|
||||
GST_BUFFER_SIZE (buf) - bytes_written,
|
||||
|
|
Loading…
Reference in a new issue