mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
mmf: Write metadata into an Optional Data chunk
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
a349458e67
commit
3dff1bf99c
@ -83,6 +83,9 @@ static int mmf_write_header(AVFormatContext *s)
|
|||||||
avio_w8(pb, 0); /* code type */
|
avio_w8(pb, 0); /* code type */
|
||||||
avio_w8(pb, 0); /* status */
|
avio_w8(pb, 0); /* status */
|
||||||
avio_w8(pb, 0); /* counts */
|
avio_w8(pb, 0); /* counts */
|
||||||
|
end_tag_be(pb, pos);
|
||||||
|
|
||||||
|
pos = ff_start_tag(pb, "OPDA");
|
||||||
avio_write(pb, "VN:libavcodec,", sizeof("VN:libavcodec,") -1); /* metadata ("ST:songtitle,VN:version,...") */
|
avio_write(pb, "VN:libavcodec,", sizeof("VN:libavcodec,") -1); /* metadata ("ST:songtitle,VN:version,...") */
|
||||||
end_tag_be(pb, pos);
|
end_tag_be(pb, pos);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user