mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
gst/elements/gstfilesrc.c: see #305653.
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/elements/gstfilesrc.c: (gst_filesrc_map_region): Formatting fix (long/longlong), see #305653.
This commit is contained in:
parent
7381ded8a5
commit
9c7828cb9e
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-06-03 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* gst/elements/gstfilesrc.c: (gst_filesrc_map_region):
|
||||||
|
Formatting fix (long/longlong), see #305653.
|
||||||
|
|
||||||
2005-06-01 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2005-06-01 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* gst/gstvalue.c: (gst_value_list_append_value):
|
* gst/gstvalue.c: (gst_value_list_append_value):
|
||||||
|
|
|
@ -428,7 +428,8 @@ gst_filesrc_map_region (GstFileSrc * src, off_t offset, size_t size)
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (mmapregion == MAP_FAILED) {
|
} else if (mmapregion == MAP_FAILED) {
|
||||||
GST_WARNING_OBJECT (src, "mmap (0x%08lx, %d, 0x%llx) failed: %s",
|
GST_WARNING_OBJECT (src, "mmap (0x%08lx, %d, 0x%llx) failed: %s",
|
||||||
(unsigned long) size, src->fd, offset, strerror (errno));
|
(unsigned long) size, src->fd, (unsigned long long) offset,
|
||||||
|
strerror (errno));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
GST_LOG_OBJECT (src, "mapped region %08lx+%08lx from file into memory at %p",
|
GST_LOG_OBJECT (src, "mapped region %08lx+%08lx from file into memory at %p",
|
||||||
|
|
|
@ -428,7 +428,8 @@ gst_filesrc_map_region (GstFileSrc * src, off_t offset, size_t size)
|
||||||
return NULL;
|
return NULL;
|
||||||
} else if (mmapregion == MAP_FAILED) {
|
} else if (mmapregion == MAP_FAILED) {
|
||||||
GST_WARNING_OBJECT (src, "mmap (0x%08lx, %d, 0x%llx) failed: %s",
|
GST_WARNING_OBJECT (src, "mmap (0x%08lx, %d, 0x%llx) failed: %s",
|
||||||
(unsigned long) size, src->fd, offset, strerror (errno));
|
(unsigned long) size, src->fd, (unsigned long long) offset,
|
||||||
|
strerror (errno));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
GST_LOG_OBJECT (src, "mapped region %08lx+%08lx from file into memory at %p",
|
GST_LOG_OBJECT (src, "mapped region %08lx+%08lx from file into memory at %p",
|
||||||
|
|
Loading…
Reference in a new issue