[Bug 554055] skipping empty spaces in a movie

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 4 06:44:02 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=554055
  GStreamer | don't know | 0.10.x

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
           Severity|minor                       |enhancement

--- Comment #7 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-01-04 14:43:55 UTC ---
Possibly also of interest:

 man lseek

   Seeking file data and holes
       Since version 3.1, Linux supports the following additional values for
whence:

       SEEK_DATA
              Adjust the file offset to the next location in the file greater
than or equal to offset containing data.  If offset points to data, then the
file offset is set to offset.

       SEEK_HOLE
              Adjust the file offset to the next hole in the file greater than
or equal to offset.  If offset points into the middle of a hole, then the file
offset is set to offset.  If there is no hole past offset, then the  file
              offset is adjusted to the end of the file (i.e., there is an
implicit hole at the end of any file).

       In both of the above cases, lseek() fails if offset points past the end
of the file.

       These  operations  allow  applications  to map holes in a sparsely
allocated file.  This can be useful for applications such as file backup tools,
which can save space when creating backups and preserve holes, if they have a
       mechanism for discovering holes.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list