src/app/transcode/task.cpp
gst::Element Task::getBranch()
{
    Locker lock(&m_lock);
    if (m_branch == NULL)
    {
        // should be set before the call
        throw Exception(__FILE__, __LINE__,
                        "Branch has not been initialized");
    }
    if (!GST_IS_ELEMENT(m_branch))
    {
        throw Exception(__FILE__, __LINE__,
                        "Transcode branch is not a GstElement");
    }

    return gst::Element(m_branch);
}
// Retrives the branch (pipeline for transcoding)
// relevant for the task
Retrives the branch (pipeline for transcoding)
relevant for the task
Retrives the branch ( pipeline for transcoding ) relevant for the task
gst::Element Task::getBranch()
{
    Locker lock(&m_lock);
    if (m_branch == NULL)
    {
        throw Exception(__FILE__, __LINE__,
                        "Branch has not been initialized");
    }
    if (!GST_IS_ELEMENT(m_branch))
    {
        throw Exception(__FILE__, __LINE__,
                        "Transcode branch is not a GstElement");
    }
    return gst::Element(m_branch);
}
gst :: Element Task :: getBranch ( ) { Locker lock ( & m_lock ) ; if ( m_branch == NULL ) { throw Exception ( __FILE__ , __LINE__ , " " ) ; } if ( ! GST_IS_ELEMENT ( m_branch ) ) { throw Exception ( __FILE__ , __LINE__ , " " ) ; } return gst :: Element ( m_branch ) ; }
Retrives the branch (pipeline for transcoding)
relevant for the task
Retrives the branch ( pipeline for transcoding ) relevant for the task
// should be set before the call