From a49b9a99465c2272c58b99a3c0f90f6dfa5a974c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 15 May 2012 19:11:15 +0100 Subject: [PATCH] filesrc: remove references to mmap in comments and debug messages --- plugins/elements/gstfilesrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 8536f4aa18..a0672d1700 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -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;