summaryrefslogtreecommitdiff
path: root/include/avmedia
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-01-20 20:33:26 +0800
committerMark Hung <marklh9@gmail.com>2019-02-04 01:03:00 +0100
commit8a1321362a0229a25869e4e3d0422a5a51c5b5be (patch)
tree3afb0f5d5469adb70e8a5d6ea246413c7312b2e8 /include/avmedia
parent04160a24e34beb6802cea356b947ed9d8d382d19 (diff)
tdf#44223 oox: import embedded media stream.
- Handle cTn and tgtEl of MediaNodeContext. - Setting the audio source of XAudio. - Embed the media in TimeNodeTargetElementContext. - Embed the media in SoundActionContext. - Allow avmedia::EmbedMedia to embed media from a XInputStream. Change-Id: I164ac50f97f2036db4bfa2f99adedff0bba382e2 Reviewed-on: https://gerrit.libreoffice.org/67208 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'include/avmedia')
-rw-r--r--include/avmedia/mediaitem.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/avmedia/mediaitem.hxx b/include/avmedia/mediaitem.hxx
index 1f92d0b0d7b6..b2b624bee4db 100644
--- a/include/avmedia/mediaitem.hxx
+++ b/include/avmedia/mediaitem.hxx
@@ -127,7 +127,9 @@ typedef ::avmedia::MediaItem avmedia_MediaItem;
bool AVMEDIA_DLLPUBLIC EmbedMedia(
const ::css::uno::Reference< ::css::frame::XModel>& xModel,
const OUString& rSourceURL,
- OUString & o_rEmbeddedURL);
+ OUString & o_rEmbeddedURL,
+ ::css::uno::Reference<::css::io::XInputStream> const& xInputStream =
+ ::css::uno::Reference<::css::io::XInputStream>());
OUString GetFilename(OUString const& rSourceURL);