summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-04-02 11:36:56 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2018-04-04 19:09:28 +0200
commit94d831f3886a7d5d207b9224cd52d11e22d0e8f1 (patch)
treea0ae9e38ea3c4ea116e09d0f7dd10ed9d0f7b87e /fftools
parent4f55b94663cf1eeb00ca23e0fe89766ad081f811 (diff)
ffmpeg: allow setting attached_pic disposition
This is used to signal that image should be stored in metadata as cover image. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 2f8a5ace56..4dbe72186d 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3561,6 +3561,7 @@ static int init_output_stream(OutputStream *ost, char *error, int error_len)
{ "hearing_impaired" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_HEARING_IMPAIRED }, .unit = "flags" },
{ "visual_impaired" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_VISUAL_IMPAIRED }, .unit = "flags" },
{ "clean_effects" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_CLEAN_EFFECTS }, .unit = "flags" },
+ { "attached_pic" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_ATTACHED_PIC }, .unit = "flags" },
{ "captions" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_CAPTIONS }, .unit = "flags" },
{ "descriptions" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_DESCRIPTIONS }, .unit = "flags" },
{ "dependent" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AV_DISPOSITION_DEPENDENT }, .unit = "flags" },