Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
bd8f84ce
Kaydet (Commit)
bd8f84ce
authored
Eyl 15, 2013
tarafından
Minh Ngo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avmedia/VLC: Falling back to gstreamer if libvlc is not found.
Change-Id: I8d4e3cded0fc8c26a27505b5d51806bbcdeecc93
üst
8f7e4518
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
vlcmanager.cxx
avmedia/source/vlc/vlcmanager.cxx
+3
-5
SymbolLoader.hxx
avmedia/source/vlc/wrapper/SymbolLoader.hxx
+1
-1
No files found.
avmedia/source/vlc/vlcmanager.cxx
Dosyayı görüntüle @
bd8f84ce
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/lexical_cast.hpp>
#include <com/sun/star/uno/Exception.hpp>
#include "vlcmanager.hxx"
#include "vlcmanager.hxx"
#include "vlcplayer.hxx"
#include "vlcplayer.hxx"
#include "wrapper/Instance.hxx"
#include "wrapper/Instance.hxx"
...
@@ -78,7 +79,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const rtl::OUSt
...
@@ -78,7 +79,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const rtl::OUSt
throw
(
uno
::
RuntimeException
)
throw
(
uno
::
RuntimeException
)
{
{
if
(
!
m_is_vlc_found
)
if
(
!
m_is_vlc_found
)
return
uno
::
Reference
<
media
::
XPlayer
>
();
throw
uno
::
Exception
();
if
(
!
rURL
.
isEmpty
()
)
if
(
!
rURL
.
isEmpty
()
)
{
{
...
@@ -107,15 +108,12 @@ rtl::OUString SAL_CALL Manager::getImplementationName()
...
@@ -107,15 +108,12 @@ rtl::OUString SAL_CALL Manager::getImplementationName()
sal_Bool
SAL_CALL
Manager
::
supportsService
(
const
rtl
::
OUString
&
serviceName
)
sal_Bool
SAL_CALL
Manager
::
supportsService
(
const
rtl
::
OUString
&
serviceName
)
throw
(
uno
::
RuntimeException
)
throw
(
uno
::
RuntimeException
)
{
{
return
serviceName
==
VLC_SERVICENAME
&&
m_is_vlc_found
;
return
serviceName
==
VLC_SERVICENAME
;
}
}
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
Manager
::
getSupportedServiceNames
()
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
Manager
::
getSupportedServiceNames
()
throw
(
uno
::
RuntimeException
)
throw
(
uno
::
RuntimeException
)
{
{
if
(
!
m_is_vlc_found
)
return
uno
::
Sequence
<
rtl
::
OUString
>
();
::
uno
::
Sequence
<
OUString
>
aRet
(
1
);
::
uno
::
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
VLC_SERVICENAME
;
aRet
[
0
]
=
VLC_SERVICENAME
;
return
aRet
;
return
aRet
;
...
...
avmedia/source/vlc/wrapper/SymbolLoader.hxx
Dosyayı görüntüle @
bd8f84ce
...
@@ -36,7 +36,7 @@ struct ApiMap
...
@@ -36,7 +36,7 @@ struct ApiMap
namespace
namespace
{
{
#if defined( UNX )
#if defined( UNX )
const
char
LibName
[]
=
"libvlc.so
.5
"
;
const
char
LibName
[]
=
"libvlc.so"
;
#elif defined( MACOSX )
#elif defined( MACOSX )
const
char
LibName
[]
=
"/Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib"
;
const
char
LibName
[]
=
"/Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib"
;
#elif defined( WNT )
#elif defined( WNT )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment