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
1ec7d8c3
Kaydet (Commit)
1ec7d8c3
authored
Nis 01, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tweak some of the DBGS to trigger at different levels
i.e. errors at level 1 and the rest at crazy verbose level
üst
0933b4e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
gstmanager.cxx
avmedia/source/gstreamer/gstmanager.cxx
+1
-1
gstplayer.cxx
avmedia/source/gstreamer/gstplayer.cxx
+8
-7
No files found.
avmedia/source/gstreamer/gstmanager.cxx
Dosyayı görüntüle @
1ec7d8c3
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#define AVMEDIA_GST_MANAGER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Manager_GStreamer"
#define AVMEDIA_GST_MANAGER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Manager_GStreamer"
#define AVMEDIA_GST_MANAGER_SERVICENAME "com.sun.star.media.Manager"
#define AVMEDIA_GST_MANAGER_SERVICENAME "com.sun.star.media.Manager"
#if
DEBUG
#if
OSL_DEBUG_LEVEL > 2
#define DBG OSL_TRACE
#define DBG OSL_TRACE
#else
#else
#define DBG(...)
#define DBG(...)
...
...
avmedia/source/gstreamer/gstplayer.cxx
Dosyayı görüntüle @
1ec7d8c3
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#define AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Player_GStreamer"
#define AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Player_GStreamer"
#define AVMEDIA_GST_PLAYER_SERVICENAME "com.sun.star.media.Player_GStreamer"
#define AVMEDIA_GST_PLAYER_SERVICENAME "com.sun.star.media.Player_GStreamer"
#if
DEBUG
#if
OSL_DEBUG_LEVEL > 2
#define DBG OSL_TRACE
#define DBG OSL_TRACE
#else
#else
#define DBG(...)
#define DBG(...)
...
@@ -159,13 +159,14 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
...
@@ -159,13 +159,14 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
{
{
DBG
(
"%p processSyncMessage: %s"
,
this
,
GST_MESSAGE_TYPE_NAME
(
message
)
);
DBG
(
"%p processSyncMessage: %s"
,
this
,
GST_MESSAGE_TYPE_NAME
(
message
)
);
#if DEBUG
#if OSL_DEBUG_LEVEL > 0
if
(
GST_MESSAGE_TYPE
(
message
)
==
GST_MESSAGE_ERROR
)
{
if
(
GST_MESSAGE_TYPE
(
message
)
==
GST_MESSAGE_ERROR
)
{
GError
*
error
;
GError
*
error
;
gchar
*
error_debug
;
gchar
*
error_debug
;
gst_message_parse_error
(
message
,
&
error
,
&
error_debug
);
gst_message_parse_error
(
message
,
&
error
,
&
error_debug
);
DBG
(
"
error: '%s' debug: '%s'"
,
error
->
message
,
error_debug
);
OSL_TRACE
(
"gstreamer
error: '%s' debug: '%s'"
,
error
->
message
,
error_debug
);
}
}
#endif
#endif
...
@@ -230,7 +231,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
...
@@ -230,7 +231,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
}
}
}
}
#if
DEBUG
#if
OSL_DEBUG_LEVEL > 2
sal_Bool
aSuccess
=
sal_Bool
aSuccess
=
#endif
#endif
osl_setCondition
(
maSizeCondition
);
osl_setCondition
(
maSizeCondition
);
...
@@ -241,7 +242,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
...
@@ -241,7 +242,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
}
else
if
(
GST_MESSAGE_TYPE
(
message
)
==
GST_MESSAGE_ERROR
)
{
}
else
if
(
GST_MESSAGE_TYPE
(
message
)
==
GST_MESSAGE_ERROR
)
{
if
(
mnWidth
==
0
)
{
if
(
mnWidth
==
0
)
{
// an error occurred, set condition so that OOo thread doesn't wait for us
// an error occurred, set condition so that OOo thread doesn't wait for us
#if
DEBUG
#if
OSL_DEBUG_LEVEL > 2
sal_Bool
aSuccess
=
sal_Bool
aSuccess
=
#endif
#endif
osl_setCondition
(
maSizeCondition
);
osl_setCondition
(
maSizeCondition
);
...
@@ -536,7 +537,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
...
@@ -536,7 +537,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
DBG
(
"%p Player::getPreferredPlayerWindowSize, member %d x %d"
,
this
,
mnWidth
,
mnHeight
);
DBG
(
"%p Player::getPreferredPlayerWindowSize, member %d x %d"
,
this
,
mnWidth
,
mnHeight
);
TimeValue
aTimeout
=
{
10
,
0
};
TimeValue
aTimeout
=
{
10
,
0
};
#if
DEBUG
#if
OSL_DEBUG_LEVEL > 2
oslConditionResult
aResult
=
oslConditionResult
aResult
=
#endif
#endif
osl_waitCondition
(
maSizeCondition
,
&
aTimeout
);
osl_waitCondition
(
maSizeCondition
,
&
aTimeout
);
...
...
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