From b7a8bbe1d1de44738b7986fc5b7afeee50a66b18 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 22 Nov 2006 08:51:08 +0000 Subject: [PATCH] Add useful debug message. --- .../src/modules/playlistExecutor/src/GstreamerPlayer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx index 9bad53d56..e8705bf4e 100644 --- a/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx +++ b/campcaster/src/modules/playlistExecutor/src/GstreamerPlayer.cxx @@ -392,12 +392,13 @@ GstreamerPlayer :: open(const std::string fileUrl) // Due to bugs in the minimalaudiosmil element, it does not currently work with decodebin. // Therefore we instantiate it manually if the file has the .smil extension. if (isSmil) { - debug() << "SMIL file detected." << endl; if (isPreloaded) { + debug() << "Using preloaded SMIL element instance." << endl; m_decoder = m_preloadDecoder; gst_element_link(m_decoder, m_audioconvert); } else { + debug() << "SMIL file detected." << endl; m_decoder = gst_element_factory_make("minimalaudiosmil", NULL); gst_element_link_many(m_filesrc, m_decoder, m_audioconvert, NULL); }