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
79ae3492
Kaydet (Commit)
79ae3492
authored
Tem 13, 2013
tarafından
Minh Ngo
Kaydeden (comit)
Michael Meeks
Tem 26, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixing pausing/stopping media features
Change-Id: I3a1c5201481be819f84e8475719a1ce9f15e20ec
üst
2fadc5a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
vlcplayer.cxx
avmedia/source/vlc/vlcplayer.cxx
+7
-1
vlcwindow.cxx
avmedia/source/vlc/vlcwindow.cxx
+2
-0
No files found.
avmedia/source/vlc/vlcplayer.cxx
Dosyayı görüntüle @
79ae3492
...
...
@@ -51,7 +51,7 @@ void SAL_CALL VLCPlayer::start()
void
SAL_CALL
VLCPlayer
::
stop
()
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
libvlc_media_player_
stop
(
mPlayer
.
get
()
);
libvlc_media_player_
pause
(
mPlayer
.
get
()
);
}
::
sal_Bool
SAL_CALL
VLCPlayer
::
isPlaying
()
...
...
@@ -69,6 +69,12 @@ double SAL_CALL VLCPlayer::getDuration()
void
SAL_CALL
VLCPlayer
::
setMediaTime
(
double
fTime
)
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
if
(
fTime
<
0.00000001
&&
!
libvlc_media_player_is_playing
(
mPlayer
.
get
()
)
)
{
libvlc_media_player_stop
(
mPlayer
.
get
()
);
}
libvlc_media_player_set_time
(
mPlayer
.
get
(),
fTime
*
MS_IN_SEC
);
}
...
...
avmedia/source/vlc/vlcwindow.cxx
Dosyayı görüntüle @
79ae3492
#include <iostream>
#include "vlcwindow.hxx"
using
namespace
::
com
::
sun
::
star
;
...
...
@@ -81,6 +82,7 @@ void SAL_CALL VLCWindow::setVisible( sal_Bool Visible )
void
SAL_CALL
VLCWindow
::
setEnable
(
sal_Bool
Enable
)
throw
(
uno
::
RuntimeException
)
{
std
::
cout
<<
__PRETTY_FUNCTION__
<<
" "
<<
Enable
<<
std
::
endl
;
}
void
SAL_CALL
VLCWindow
::
setFocus
()
...
...
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