diff --git a/VideoImpl.cpp b/VideoImpl.cpp index eab7688..39fe02c 100644 --- a/VideoImpl.cpp +++ b/VideoImpl.cpp @@ -929,7 +929,13 @@ void VideoImpl::_freeCurrentSample() { */ void VideoImpl::gstPadAddedCallback(GstElement *src, GstPad *newPad, VideoImpl* p) { +#ifdef VIDEO_IMPL_VERBOSE +#ifndef Q_OS_OSX + // NOTE: This line was causing a problem on Mac OSX: it caused the software to freeze when loading a new movie. qDebug() << "Received new pad '" << GST_PAD_NAME(newPad) << "' from '" << GST_ELEMENT_NAME (src) << "'." << endl; +#endif +#endif + GstPad *sinkPad = NULL; // Check the new pad's type.