[Bug 532307] filesrc: laptop mode for playback, optimise file access with posix_fadvise()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 12 13:40:47 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=532307

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      GNOME version|2.23/2.24                   |---
            Summary|[filesrc] laptop mode for   |filesrc: laptop mode for
                   |playing movies              |playback, optimise file
                   |                            |access with posix_fadvise()

--- Comment #12 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Arguably the posix_fadvise() stuff should be coming from the element that does
the data access. qtdemux will have a different pattern of data access than
streaming formats. Demuxers know they're currently scanning (throw-away data)
or in streaming mode.

So really what we need is a way for demuxers to signal this to upstream
elements such as filesrc. For simple things it could be done with a
pull_range() full with additional flags.

This could also be interesting for a souphttpsrc ! downloadbuffer ! demuxer
style scenario, the demuxer could advertise ranges it will need in advance.
Making good use of that is a different matter of course.

-- 
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