On Sun, Jun 19, 2011 at 11:18:22PM +1000, Peter Ross wrote: > On Fri, Jun 17, 2011 at 11:26:14AM -0400, Justin Ruggles wrote: > > On 06/17/2011 05:06 AM, Kostya wrote: > > > > > On Fri, Jun 17, 2011 at 09:54:43AM +0100, Måns Rullgård wrote: > > >> Kostya Shishkov <[email protected]> writes: > > >> > > >>> This is needed because not all players (e.g. MPlayer) are able to > > >>> distinguish > > >>> two different Bink audio decoders when codec_tag is set. > > >>> --- > [..] > > >> > > >> I'm not sure which abuse is worse. > > > > > > Flip a coin then. I don't know myself. > > > But feel free to read doxy for codec_tag in avcodec.h to make it even more > > > confusing. > > > > > > This solution isn't too bad. At least it is using actual data from the > > global header. > > The bink video decoder also uses codec_tag to to distinguish different > versions. > While I have no objection to the above, we ought to agree on the same approach > for both audio and video codecs.
Well, in Bink video case we have several tags corresponding to the same codec, in Bink audio it's the same tag but two possible decoders, so it's hard to tell if this is BIKi-RDFT or BIKi-DCT. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
