filesrc: remove references to mmap in comments and debug messages
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 15 May 2012 18:11:15 +0000 (19:11 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 15 May 2012 18:12:58 +0000 (19:12 +0100)
plugins/elements/gstfilesrc.c

index 8536f4a..a0672d1 100644 (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;