~ubuntu-branches/ubuntu/hardy/gstreamer0.10/hardy-updates

« back to all changes in this revision

Viewing changes to docs/design/part-buffering.txt

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-11-16 18:15:06 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20071116181506-jm07yi8zgtklco5q
Tags: 0.10.15-1ubuntu1
* Sync with Debian, remaining Ubuntu changes:
  + debian/control.in:
    - Set Ubuntu Core Developers as Maintainer.
    - Add Breaks field to libgstreamer0.10-0 for
      libgstreamer-plugins-base0.10-0.
  + debian/patches/80_ia32-hack.patch:
    - Set the plugin dir to /usr/lib32/gstreamer-0.10, when running the
      i386 binaries on amd64.
  + debian/rules:
    - Set the package origin and url for Ubuntu.
    - Symlink the doc directories to avoid duplicate files and remove
      the old ones on upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
prerolled.
53
53
 
54
54
 
 
55
Buffering Query
 
56
---------------
 
57
 
 
58
It is possible to query the amount of buffering performed in the pipeline, which
 
59
is defined as the amount of data made available at the source. This amount is
 
60
expressed in some GstFormat and is usually compared to the duration or position 
 
61
of the media stream in the same GstFormat.
 
62
 
 
63
The buffering query should return the following information:
 
64
 
 
65
 - format
 
66
 - position
 
67
 - duration
 
68
 
 
69
The format is of lesser importance, the ratio of position versus duration can be
 
70
used to calculate the percentage of available media. It should also be possible
 
71
for the application to calculate the expected time when the complete file will
 
72
be buffered. 
 
73
 
 
74
 
 
75
 
55
76
Incremental download
56
77
--------------------
57
78