filesrc: remove references to mmap in comments and debug messages

This commit is contained in:
Tim-Philipp Müller 2012-05-15 19:11:15 +01:00
parent cacdea6ae6
commit a49b9a9946

View file

@ -461,7 +461,7 @@ could_not_stat:
}
}
/* open the file and mmap it, necessary to go to READY state */
/* open the file, necessary to go to READY state */
static gboolean
gst_file_src_start (GstBaseSrc * basesrc)
{
@ -500,8 +500,8 @@ gst_file_src_start (GstBaseSrc * basesrc)
off_t res = lseek (src->fd, 0, SEEK_END);
if (res < 0) {
GST_LOG_OBJECT (src, "disabling seeking, not in mmap mode and lseek "
"failed: %s", g_strerror (errno));
GST_LOG_OBJECT (src, "disabling seeking, lseek failed: %s",
g_strerror (errno));
src->seekable = FALSE;
} else {
src->seekable = TRUE;