diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-01-15 15:53:19 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-18 10:59:03 +0100 |
commit | 601bcc4fce550d758db8ba3d78c9c399e57f694a (patch) | |
tree | f49b529c75be2f69e7f34d3e23c0ad3ff341641f /oox | |
parent | 6492679040db6415543119ada9d1124bd532ec6a (diff) |
PPTX export: fix mime type of slide narrations
Import was working already for the audio stream.
Change-Id: I43ac6561c4e39decfd99587e489cb2888805bb0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109374
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109447
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 559b35b9023f..21394acc80da 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1314,6 +1314,11 @@ void DrawingML::WriteMediaNonVisualProperties(const css::uno::Reference<css::dra aMimeType = "audio/x-wav"; eMediaType = Relationship::AUDIO; } + else if (aExtension.equalsIgnoreAsciiCase(".m4a")) + { + aMimeType = "audio/mp4"; + eMediaType = Relationship::AUDIO; + } } OUString aVideoFileRelId; |