diff mbox

[FFmpeg-devel,1/3] ffmpeg: allow setting attached_pic disposition

Message ID 20180402083658.24460-2-timo.teras@iki.fi
State Accepted
Commit 94d831f3886a7d5d207b9224cd52d11e22d0e8f1
Headers show

Commit Message

Timo Teräs April 2, 2018, 8:36 a.m. UTC
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>
---
 fftools/ffmpeg.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer April 4, 2018, 1:47 a.m. UTC | #1
On Mon, Apr 02, 2018 at 11:36:56AM +0300, Timo Teräs wrote:
> 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>
> ---
>  fftools/ffmpeg.c | 1 +
>  1 file changed, 1 insertion(+)

will apply
thx

[...]
diff mbox

Patch

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" },