Skip to content

Commit

Permalink
hack: disable preroll to see if it helps backgrounded video playback …
Browse files Browse the repository at this point in the history
…issue
  • Loading branch information
popcornmix committed Sep 20, 2015
1 parent b23bc0e commit d84a9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/DVDCodecs/Video/MMALCodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ int CMMALVideo::Decode(uint8_t* pData, int iSize, double dts, double pts)
bool want_buffer = mmal_queue_length(m_dec_input_pool->queue) > 0 && !m_demux_queue_length && !full;
int ret = VC_BUFFER;

if (m_preroll && (!want_buffer || m_output_ready.size() >= GetAllowedReferences()))
// if (m_preroll && (!want_buffer || m_output_ready.size() >= GetAllowedReferences()))
m_preroll = false;

if (!m_output_ready.empty() && !m_preroll)
Expand Down

0 comments on commit d84a9ae

Please sign in to comment.