Ticket #12730: ticket_12730_pixelation.patch

File ticket_12730_pixelation.patch, 677 bytes (added by Peter Bennett <pgbennett@…>, 10 years ago)

Patch to fix the bug.

  • mythtv/libs/libmythtv/privatedecoder_omx.cpp

    diff --git a/mythtv/libs/libmythtv/privatedecoder_omx.cpp b/mythtv/libs/libmythtv/privatedecoder_omx.cpp
    index a7ce174..b2999ad 100644
    a b int PrivateDecoderOMX::ProcessPacket(AVStream *stream, AVPacket *pkt)  
    817817
    818818    while (size > 0)
    819819    {
    820         if (!m_ibufs_sema.tryAcquire(1, 5))
     820        if (!m_ibufs_sema.tryAcquire(1, 10000))
    821821        {
    822             LOG(VB_PLAYBACK, LOG_DEBUG, LOC + __func__ + " - no input buffers");
     822            LOG(VB_GENERAL, LOG_ERR, LOC + __func__ + " - no input buffers");
    823823            ret = 0;
    824824            break;
    825825        }