src/app/transcode/processor.cpp
const gst::IEventPtr ProcessorThread::getEvent()
{
    gst::IEventPtr event;
    Locker lock(&m_lock);
    if (!m_storage.empty())
    {
        event = m_storage.front();
        m_storage.pop_front();
    }
    return event;
}
// Retrives an event from the storage
Retrives an event from the storage
Retrives an event from the storage
const gst::IEventPtr ProcessorThread::getEvent()
{
    gst::IEventPtr event;
    Locker lock(&m_lock);
    if (!m_storage.empty())
    {
        event = m_storage.front();
        m_storage.pop_front();
    }
    return event;
}
const gst :: IEventPtr ProcessorThread :: getEvent ( ) { gst :: IEventPtr event ; Locker lock ( & m_lock ) ; if ( ! m_storage . empty ( ) ) { event = m_storage . front ( ) ; m_storage . pop_front ( ) ; } return event ; }
Retrives an event from the storage
Retrives an event from the storage