Add some metadata. Should be a workaround.
This commit is contained in:
parent
a816082ac3
commit
53abc92322
|
@ -33,7 +33,7 @@ struct video_info
|
||||||
|
|
||||||
int fmt;
|
int fmt;
|
||||||
int pix_fmt;
|
int pix_fmt;
|
||||||
int pix_size;
|
size_t pix_size;
|
||||||
|
|
||||||
AVFormatContext *format;
|
AVFormatContext *format;
|
||||||
|
|
||||||
|
@ -258,6 +258,8 @@ static bool init_muxer(ffemu_t *handle)
|
||||||
ctx->oformat->flags |= AVFMT_TS_NONSTRICT;
|
ctx->oformat->flags |= AVFMT_TS_NONSTRICT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
av_dict_set(&ctx->metadata, "title", "SSNES video dump", 0);
|
||||||
|
|
||||||
#ifdef HAVE_FFMPEG_AVFORMAT_WRITE_HEADER
|
#ifdef HAVE_FFMPEG_AVFORMAT_WRITE_HEADER
|
||||||
if (avformat_write_header(ctx, NULL) < 0)
|
if (avformat_write_header(ctx, NULL) < 0)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue