Skip to content

Commit

Permalink
[mmalcodec] Also treat VS_INTERLACEMETHOD_NONE as disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 14, 2015
1 parent 92f17ba commit fc47508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/dvdplayer/DVDCodecs/Video/MMALCodec.cpp
Expand Up @@ -857,7 +857,7 @@ int CMMALVideo::Decode(uint8_t* pData, int iSize, double dts, double pts)

bool deinterlace = m_interlace_mode != MMAL_InterlaceProgressive;

if (m_hints.stills || deinterlace_request == VS_DEINTERLACEMODE_OFF)
if (m_hints.stills || deinterlace_request == VS_DEINTERLACEMODE_OFF || interlace_method == VS_INTERLACEMETHOD_NONE)
deinterlace = false;
else if (deinterlace_request == VS_DEINTERLACEMODE_FORCE)
deinterlace = true;
Expand Down

0 comments on commit fc47508

Please sign in to comment.