public java . util . Collection < Long > getSupportedTags ( ) { final java . util . List < Long > retval = new java . util . LinkedList < Long > ( ) ; final java . util . Set < Long > uniqueSet = new java . util . HashSet < Long > ( ) ; int numCodecs = getNumSupportedCodecs ( ) ; for ( int i = 0 ; i < numCodecs ; i ++ ) { long tag = getSupportedCodecTag ( i ) ; Codec . ID id = getSupportedCodecId ( i ) ; // remove duplicate tags if ( id != Codec . ID . CODEC_ID_NONE && ! uniqueSet . contains ( tag ) ) retval . add ( tag ) ; uniqueSet . add ( tag ) ; } return retval ; }
Returns a list of all codec tags supported for this container .