Lines Matching defs:tag
273 * Parse a text tag.
315 * Parse GEOB tag into a ID3v2ExtraMetaGEOB struct.
318 char *tag, ID3v2ExtraMeta **extra_meta, int isv34)
379 new_extra->tag = "GEOB";
387 av_log(s, AV_LOG_ERROR, "Error reading frame %s, skipped\n", tag);
400 static AVDictionaryEntry *get_date_tag(AVDictionary *m, const char *tag)
403 if ((t = av_dict_get(m, tag, NULL, AV_DICT_MATCH_CASE)) &&
450 char *tag, ID3v2ExtraMeta **extra_meta, int isv34)
514 new_extra->tag = "APIC";
535 char tag[5];
562 if (avio_read(pb, tag, 4) < 4)
564 tag[4] = 0;
570 if (tag[0] == 'T')
571 read_ttag(s, pb, taglen, &chapter->metadata, tag);
592 char *tag, ID3v2ExtraMeta **extra_meta, int isv34)
615 meta->tag = "PRIV";
645 * Get the corresponding ID3v2EMFunc struct for a tag.
649 static const ID3v2EMFunc *get_extra_meta_func(const char *tag, int isv34)
653 if (tag && !memcmp(tag,
669 char tag[5];
732 if (avio_read(pb, tag, 4) < 4)
734 tag[4] = 0;
742 if (avio_read(pb, tag, 3) < 3)
744 tag[3] = 0;
757 if (tag[0])
759 tag);
784 av_log(s, AV_LOG_WARNING, "Skipping %s ID3v2 frame %s.\n", type, tag);
786 /* check for text tag or supported special meta tag */
787 } else if (tag[0] == 'T' ||
789 (extra_func = get_extra_meta_func(tag, isv34)))) {
823 av_log(s, AV_LOG_DEBUG, "Compresssed frame %s tlen=%d dlen=%ld\n", tag, tlen, dlen);
834 av_log(s, AV_LOG_ERROR, "Failed to read compressed tag\n");
842 av_log(s, AV_LOG_ERROR, "Failed to uncompress tag: %d\n", err);
850 if (tag[0] == 'T')
851 /* parse text tag */
852 read_ttag(s, pbx, tlen, metadata, tag);
854 /* parse special meta tag */
855 extra_func->read(s, pbx, tlen, tag, extra_meta, isv34);
856 } else if (!tag[0]) {
857 if (tag[1])
862 /* Skip to end of tag */
873 av_log(s, AV_LOG_INFO, "ID3v2.%d tag skipped, cannot handle %s\n",
943 if ((extra_func = get_extra_meta_func(current->tag, 1)))
961 if (strcmp(cur->tag, "APIC"))