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
3d246af8
Kaydet (Commit)
3d246af8
authored
Eyl 20, 2013
tarafından
Minh Ngo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avmedia/VLC: Fixing a bug with a keyframe attaching
Change-Id: Iee28b510a79600e20a7e711d78ca20a216ccc3aa
üst
ccea730a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
mediawindow_impl.cxx
avmedia/source/viewer/mediawindow_impl.cxx
+2
-2
vlcplayer.cxx
avmedia/source/vlc/vlcplayer.cxx
+9
-3
vlcwindow.cxx
avmedia/source/vlc/vlcwindow.cxx
+2
-1
No files found.
avmedia/source/viewer/mediawindow_impl.cxx
Dosyayı görüntüle @
3d246af8
...
...
@@ -312,7 +312,7 @@ void MediaWindowImpl::Resize()
if
(
xPlayerWindow
.
is
()
)
xPlayerWindow
->
setPosSize
(
0
,
0
,
aPlayerWindowSize
.
Width
(),
aPlayerWindowSize
.
Height
(),
0
);
maChildWindow
.
SetPosSizePixel
(
Point
(
nOffset
,
nOffset
),
aPlayerWindowSize
);
maChildWindow
.
SetPosSizePixel
(
Point
(
0
,
0
),
aPlayerWindowSize
);
}
// ---------------------------------------------------------------------
...
...
@@ -373,7 +373,7 @@ void MediaWindowImpl::Paint( const Rectangle& )
if
(
pLogo
&&
!
pLogo
->
IsEmpty
()
&&
(
aVideoRect
.
GetWidth
()
>
0
)
&&
(
aVideoRect
.
GetHeight
()
>
0
)
)
{
Size
aLogoSize
(
pLogo
->
GetSizePixel
()
);
const
Color
aBackgroundColor
(
0
,
0
,
0
);
const
Color
aBackgroundColor
(
67
,
67
,
67
);
SetLineColor
(
aBackgroundColor
);
SetFillColor
(
aBackgroundColor
);
...
...
avmedia/source/vlc/vlcplayer.cxx
Dosyayı görüntüle @
3d246af8
...
...
@@ -189,7 +189,6 @@ namespace
void
SAL_CALL
VLCPlayer
::
setWindowID
(
const
intptr_t
windowID
)
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
mPrevWinID
=
windowID
;
mPlayer
.
stop
();
mPlayer
.
setWindow
(
windowID
);
}
...
...
@@ -206,14 +205,21 @@ uno::Reference< css::media::XPlayerWindow > SAL_CALL VLCPlayer::createPlayerWind
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
const
intptr_t
winID
=
GetWindowID
(
aArguments
);
VLCWindow
*
const
window
=
new
VLCWindow
(
*
this
,
mPrevWinID
);
VLCWindow
*
window
;
if
(
mPrevWinID
==
0
)
{
mPrevWinID
=
winID
;
window
=
new
VLCWindow
(
*
this
,
0
);
}
else
window
=
new
VLCWindow
(
*
this
,
mPrevWinID
);
if
(
winID
!=
-
1
)
{
setWindowID
(
winID
);
}
return
uno
::
Reference
<
css
::
media
::
XPlayerWindow
>
(
window
);
return
::
com
::
sun
::
star
::
uno
::
Reference
<
css
::
media
::
XPlayerWindow
>
(
window
);
}
uno
::
Reference
<
css
::
media
::
XFrameGrabber
>
SAL_CALL
VLCPlayer
::
createFrameGrabber
()
...
...
avmedia/source/vlc/vlcwindow.cxx
Dosyayı görüntüle @
3d246af8
...
...
@@ -22,7 +22,8 @@ VLCWindow::VLCWindow( VLCPlayer& player, const intptr_t prevWinID )
VLCWindow
::~
VLCWindow
()
{
mPlayer
.
setWindowID
(
mPrevWinID
);
if
(
mPrevWinID
!=
0
)
mPlayer
.
setWindowID
(
mPrevWinID
);
}
void
SAL_CALL
VLCWindow
::
update
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
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