From 618021ea58cda5ce294efa53ce5a69ce27420ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kr=C3=BCger?= Date: Sun, 1 Mar 2015 13:02:20 +0100 Subject: [PATCH] avformat/mxfenc: adjust product name when opatom muxer is used Signed-off-by: Michael Niedermayer --- libavformat/mxfenc.c | 2 +- tests/ref/lavf/mxf_opatom | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index dfa647de3c..7d35af4dcc 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -639,7 +639,7 @@ static void mxf_write_identification(AVFormatContext *s) MXFContext *mxf = s->priv_data; AVIOContext *pb = s->pb; const char *company = "FFmpeg"; - const char *product = "OP1a Muxer"; + const char *product = s->oformat != &ff_mxf_opatom_muxer ? "OP1a Muxer" : "OPAtom Muxer"; const char *version; int length; diff --git a/tests/ref/lavf/mxf_opatom b/tests/ref/lavf/mxf_opatom index d62d80373a..f03e9fcc54 100644 --- a/tests/ref/lavf/mxf_opatom +++ b/tests/ref/lavf/mxf_opatom @@ -1,3 +1,3 @@ -8b312335b1af76e0133092c2658cd4a4 *./tests/data/lavf/lavf.mxf_opatom +f52285c3a157c77eb86c372dd46a2bb0 *./tests/data/lavf/lavf.mxf_opatom 4716601 ./tests/data/lavf/lavf.mxf_opatom ./tests/data/lavf/lavf.mxf_opatom CRC=0xbdd696b9