mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
baseaudioencoder: additional documentation on granule semantics and
configuration
This commit is contained in:
parent
9f7849eac9
commit
d0e9fbf3db
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@
|
||||||
* or draining all currently remaining input data, depending on the direction
|
* or draining all currently remaining input data, depending on the direction
|
||||||
* of the discontuinity.
|
* of the discontuinity.
|
||||||
*
|
*
|
||||||
|
* If perfect timestamps are arranged, it is also possible to request baseclass
|
||||||
|
* (usually set by subclass) to provide additional buffer metadata (in OFFSET
|
||||||
|
* and OFFSET_END) fields according to granule defined semantics currently
|
||||||
|
* needed by oggmux. Specifically, OFFSET is set to granulepos (= sample count
|
||||||
|
* including buffer) and OFFSET_END to corresponding timestamp (as determined
|
||||||
|
* by same sample count and sample rate).
|
||||||
|
*
|
||||||
* Things that subclass need to take care of:
|
* Things that subclass need to take care of:
|
||||||
* <itemizedlist>
|
* <itemizedlist>
|
||||||
* <listitem><para>Provide pad templates</para></listitem>
|
* <listitem><para>Provide pad templates</para></listitem>
|
||||||
|
|
Loading…
Reference in a new issue