summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-15 16:41:49 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-15 18:49:16 +0300
commita0b9dbde60d1888842a04392045dac26bd79b60f (patch)
tree9e246941e0f5585b9890b203b5425c0d6b36ebca /avmedia
parentdc2a5943dcfc38db99ef041e1362542f15f7d9f2 (diff)
Try the AVMEDIA_MANAGER_SERVICE_NAME_FALLBACK1
Change-Id: Iacd00f1371ea276758702bd5eb8380f542790c55
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx
index 6ef84626a037..6ebe2f70f56e 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -226,6 +226,10 @@ uno::Reference< media::XPlayer > MediaWindowImpl::createPlayer( const OUString&
#ifdef AVMEDIA_MANAGER_SERVICE_NAME_OLD
AVMEDIA_MANAGER_SERVICE_NAME_OLD
#endif
+// fallback to AVMedia framework on OS X
+#ifdef AVMEDIA_MANAGER_SERVICE_NAME_FALLBACK1
+ AVMEDIA_MANAGER_SERVICE_NAME_FALLBACK1
+#endif
};
for( sal_uInt32 i = 0; !xPlayer.is() && i < SAL_N_ELEMENTS( aServiceManagers ); ++i )