From kde-commits Tue Feb 01 02:52:36 2011 From: Alex Fiestas Date: Tue, 01 Feb 2011 02:52:36 +0000 To: kde-commits Subject: =?utf-8?q?=5Bkamoso/2=2E0=5D_src=3A_Added_some_separator?= Message-Id: <20110201025236.996BDA60A9 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129652880117605 Git commit bb290174dc66e1af87220af065c51bf2992addd2 by Alex Fiestas. Committed on 01/02/11 at 03:52. Pushed by afiestas into branch '2.0'. Added some separator M +2 -0 src/webcamwidget.cpp http://commits.kde.org/kamoso/bb290174dc66e1af87220af065c51bf2992addd2 diff --git a/src/webcamwidget.cpp b/src/webcamwidget.cpp index 746ddcb..43bd526 100644 --- a/src/webcamwidget.cpp +++ b/src/webcamwidget.cpp @@ -122,6 +122,7 @@ void WebcamWidget::playFile(const Device &device) //End of the road " ! fakesink name=fakesink"; + kDebug() << "================ PIPELINE ================"; kDebug() << pipe; d->m_bin = QGst::Bin::fromDescription(pipe.constData()); d->m_pipeline->add(d->m_bin); @@ -131,6 +132,7 @@ void WebcamWidget::playFile(const Device &device) setVideoSink(d->m_bin->getElementByName("videosink")); d->m_pipeline->setState(QGst::StateReady); + kDebug() << "================ Capabilities ================"; kDebug() << d->m_pipeline->getElementByName("v4l2src")->getStaticPad("src")->caps()->toString(); d->m_pipeline->setState(QGst::StatePlaying); }