Commit 7f107100 authored by Vincent Carrubba's avatar Vincent Carrubba

Removing some debug

parent 27303886
......@@ -105,7 +105,6 @@ InSlot<T>& InSlot<T>::operator=(InSlot const &)
template<typename T>
InSlot<T>::~InSlot()
{
qDebug() << "destruction d'InSlot";
if ( m_OutSlotPtr != NULL)
disconnect();
}
......
......@@ -51,60 +51,6 @@ LightVideoFrame::LightVideoFrame(LightVideoFrame const & tocopy) : m_videoFrame(
LightVideoFrame& LightVideoFrame::operator=(LightVideoFrame const & tocopy)
{
// if ( m_videoFrame->frame.octets == NULL )
// {
// if ( tocopy.m_videoFrame->frame.octets != NULL )
// {
// qDebug() << "frame NULL & frame of tocopy not NULL" << "\n"
// << "this pixels = " << m_videoFrame->nbpixels << "\n"
// << "tocopy.m_videoFrame pixels = " << tocopy.m_videoFrame->nbpixels;
// m_videoFrame->frame.octets = new quint8[tocopy.m_videoFrame->nboctets];
// m_videoFrame->nboctets = tocopy.m_videoFrame->nboctets;
// m_videoFrame->nbpixels = tocopy.m_videoFrame->nboctets / Pixel::NbComposantes;
// quint32 i;
// for ( i = 0; i < m_videoFrame->nboctets; ++i )
// m_videoFrame->frame.octets[i] = tocopy.m_videoFrame->frame.octets[i];
// }
// }
// else
// {
// if ( tocopy.m_videoFrame->frame.octets != NULL )
// {
// qDebug() << "frame not NULL & frame of tocopy not NULL" << "\n"
// << "this pixels = " << m_videoFrame->nbpixels << "\n"
// << "tocopy.m_videoFrame pixels = " << tocopy.m_videoFrame->nbpixels;
// if ( m_videoFrame->nboctets != tocopy.m_videoFrame->nboctets )
// {
// delete [] m_videoFrame->frame.octets;
// m_videoFrame->frame.octets = new quint8[tocopy.m_videoFrame->nboctets];
// m_videoFrame->nboctets = tocopy.m_videoFrame->nboctets;
// m_videoFrame->nbpixels = tocopy.m_videoFrame->nboctets / Pixel::NbComposantes;
// }
// quint32 i;
// for ( i = 0; i < m_videoFrame->nboctets; ++i )
// m_videoFrame->frame.octets[i] = tocopy.m_videoFrame->frame.octets[i];
// }
// else
// {
// qDebug() << "frame not NULL & frame of tocopy NULL" << "\n"
// << "this pixels = " << m_videoFrame->nbpixels << "\n"
// << "tocopy.m_videoFrame pixels = " << tocopy.m_videoFrame->nbpixels;
// delete [] m_videoFrame->frame.octets;
// m_videoFrame->frame.octets = NULL;
// m_videoFrame->nboctets = 0;
// m_videoFrame->nbpixels = 0;
// }
// }
//
//
// #FIXME : WTF!? Why does this holly crap work fine?
//
//
// m_videoFrame.detach();
m_videoFrame = tocopy.m_videoFrame;
return ( *this );
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment