<font size=2 face="Arial">Hi,</font>
<br><font size=2 face="Arial">is there any way to iterate through all codec_tags
of an AVOutputFormat without using the private header internal.h? I need
that header because AVCodecTag is there.</font>
<br><font size=2 face="Arial">Currently I'm trying something like:</font>
<br><font size=1 color=blue face="}">auto</font><font size=1 face="}">
</font><font size=1 color=#000080 face="}"><b>enumFormat</b></font><font size=1 face="}">
= </font><font size=1 color=#800000 face="}">av_guess_format</font><font size=1 face="}">(</font><font size=1 color=blue face="}">nullptr</font><font size=1 face="}">,
</font><font size=1 color=#800080 face="}">qPrintable</font><font size=1 face="}">(</font><font size=1 color=#000080 face="}"><b>extension</b></font><font size=1 face="}">),
</font><font size=1 color=blue face="}">nullptr</font><font size=1 face="}">);</font>
<br><font size=1 color=blue face="}">for</font><font size=1 face="}"> (</font><font size=1 color=#3f8080 face="}">uint32</font><font size=1 face="}">
</font><font size=1 color=#000080 face="}"><b>i</b></font><font size=1 face="}">
= 0; </font><font size=1 color=#000080 face="}"><b>enumFormat</b></font><font size=1 face="}">-></font><font size=1 color=#000080 face="}">codec_tag</font><font size=1 face="}">
&& </font><font size=1 color=#000080 face="}"><b>enumFormat</b></font><font size=1 face="}">-></font><font size=1 color=#000080 face="}">codec_tag</font><font size=1 face="}">[</font><font size=1 color=#000080 face="}"><b>i</b></font><font size=1 face="}">];
++</font><font size=1 color=#000080 face="}"><b>i</b></font><font size=1 face="}">)</font>
<br><font size=1 face="}">        {</font>
<br><font size=1 face="}">          </font><font size=1 color=blue face="}">auto</font><font size=1 face="}">
</font><font size=1 color=#000080 face="}"><b>tag</b></font><font size=1 face="}">
= </font><font size=1 color=#000080 face="}"><b>enumFormat</b></font><font size=1 face="}">-></font><font size=1 color=#000080 face="}">codec_tag</font><font size=1 face="}">[</font><font size=1 color=#000080 face="}"><b>i</b></font><font size=1 face="}">];</font>
<br>
<br><font size=1 face="}">          </font><font size=1 color=blue face="}">while</font><font size=1 face="}">
(</font><font size=1 color=#000080 face="}"><b>tag</b></font><font size=1 face="}">-></font><font size=1 color=#3f8080 face="}">id</font><font size=1 face="}">
!= </font><font size=1 color=#800080 face="}">AV_CODEC_ID_NONE</font><font size=1 face="}">)</font>
<br><font size=1 face="}">          {</font>
<br><font size=1 face="}">            </font><font size=1 color=#000080 face="}"><b>encoder</b></font><font size=1 face="}">
= </font><font size=1 color=#800000 face="}">avcodec_find_encoder</font><font size=1 face="}">(</font><font size=1 color=#000080 face="}"><b>tag</b></font><font size=1 face="}">-></font><font size=1 color=#3f8080 face="}">id</font><font size=1 face="}">);</font>
<br>
<br><font size=1 face="}">            </font><font size=1 color=blue face="}">if</font><font size=1 face="}">
(</font><font size=1 color=#000080 face="}"><b>encoder</b></font><font size=1 face="}">
&& </font><font size=1 color=#000080 face="}"><b>encoder</b></font><font size=1 face="}">-></font><font size=1 color=#3f8080 face="}">type</font><font size=1 face="}">
== </font><font size=1 color=#800080 face="}">AVMEDIA_TYPE_VIDEO</font><font size=1 face="}">
&& </font><font size=1 color=#800000 face="}">av_codec_is_encoder</font><font size=1 face="}">(</font><font size=1 color=#000080 face="}"><b>encoder</b></font><font size=1 face="}">))</font>
<br><font size=1 face="}">            {</font>
<br><font size=1 face="}">//...</font>
<br><font size=1 face="}">            }</font>
<br>
<br><font size=1 face="}">            ++</font><font size=1 color=#000080 face="}"><b>tag</b></font><font size=1 face="}">;</font>
<br><font size=1 face="}">          }</font>
<br><font size=1 face="}">        }</font>
<br><font size=2 face="Arial">What I need, are all codec that are supported
by a AVOutputFormat.</font>
<br>
<br><font size=2 face="Arial">Kind regards</font>
<br><font size=2 face="sans-serif">Steffen</font>