forked from FFmpeg/FFmpeg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
avformat/matroskaenc: Write attached_pic as AttachedFile
This commit changes the way video streams with disposition AV_DISPOSITION_ATTACHED_PIC that are not timed thumbnails and that actually contain an attached_pic are handled: From now on, they will be written as AttachedFile, not as a Matroska Track. The restriction to streams that actually contain an attached_pic is important. E.g. simply setting the disposition via FFmpeg does not populate the attached_pic field. Such tracks are treated as video tracks just as now. It is intended to improve this in future commits. This fixes tickets #2270 and #4591. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
- Loading branch information
Showing
1 changed file
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters