You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
movenc: write correct format hvcc when tag is hvc1
(cherry picked from commit 1ea9b7fdf9
)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
committed by
Derek Buitenhuis
parent
38d808d72e
commit
974d508e57
@@ -1126,7 +1126,10 @@ static int mov_write_hvcc_tag(AVIOContext *pb, MOVTrack *track)
|
|||||||
|
|
||||||
avio_wb32(pb, 0);
|
avio_wb32(pb, 0);
|
||||||
ffio_wfourcc(pb, "hvcC");
|
ffio_wfourcc(pb, "hvcC");
|
||||||
ff_isom_write_hvcc(pb, track->vos_data, track->vos_len, 0);
|
if (track->tag == MKTAG('h','v','c','1'))
|
||||||
|
ff_isom_write_hvcc(pb, track->vos_data, track->vos_len, 1);
|
||||||
|
else
|
||||||
|
ff_isom_write_hvcc(pb, track->vos_data, track->vos_len, 0);
|
||||||
return update_size(pb, pos);
|
return update_size(pb, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user