Development docs: Update to API changes (id_result_container(), show_packetizer_info())

This commit is contained in:
Moritz Bunkus 2011-10-16 16:10:36 +02:00
parent 24e2ae5ebf
commit c30db79d85
2 changed files with 8 additions and 8 deletions

View File

@ -533,11 +533,11 @@ file->setFilePointer(61, seek_current);
if (!demuxing_requested('a', 0) || (NPTZR() != 0))
return;
// Inform the user.
mxinfo_tid(m_ti.m_fname, 0, Y("Using the MPEG audio output module.\n"));
// Create the actual packetizer.
add_packetizer(new mp3_packetizer_c(this, m_ti, mp3header.sampling_frequency, mp3header.channels, false));
// Inform the user.
show_packetizer_info(0, PTZR0);
</code
></pre
><p
@ -566,7 +566,7 @@ add_packetizer(new mp3_packetizer_c(this, m_ti, mp3header.sampling_frequency, mp
></h2
><p
>File identification. Has to call <code
>id_result_container(&quot;description&quot;)</code
>id_result_container()</code
> once for the container type.</p
><p
>For each supported track the function must call <code

View File

@ -192,12 +192,12 @@ complex examples):
if (!demuxing_requested('a', 0) || (NPTZR() != 0))
return;
// Inform the user.
mxinfo_tid(m_ti.m_fname, 0, Y("Using the MPEG audio output module.\n"));
// Create the actual packetizer.
add_packetizer(new mp3_packetizer_c(this, m_ti, mp3header.sampling_frequency, mp3header.channels, false));
// Inform the user.
show_packetizer_info(0, PTZR0);
A lot of packetizers expect their codec private data to be constructed
completely by the reader. This often requires that the reader
processes at least a few packets. For a rather complex case see the
@ -210,7 +210,7 @@ based on the number of bytes processed.
## `identify()` ##
File identification. Has to call `id_result_container("description")`
File identification. Has to call `id_result_container()`
once for the container type.
For each supported track the function must call `id_result_track(...)`