mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
10l: wrong bitmask when patching the pce_ptr in soft_telecine()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21485 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8b89312ae7
commit
6dc68e8680
@ -1670,7 +1670,9 @@ static int soft_telecine(muxer_priv_t *priv, muxer_headers_t *vpriv, uint8_t *fp
|
||||
}
|
||||
else if(vpriv->telecine == TELECINE_DGPULLDOWN)
|
||||
{
|
||||
pce_ptr[3] = (pce_ptr[3] & 0xfd) | bff_mask[vpriv->display_frame % MAX_PATTERN_LENGTH];
|
||||
tff = (bff_mask[vpriv->display_frame % MAX_PATTERN_LENGTH] & 0x2) ? 0x80 : 0;
|
||||
rff = (bff_mask[vpriv->display_frame % MAX_PATTERN_LENGTH] & 0x1) ? 0x02 : 0;
|
||||
pce_ptr[3] = (pce_ptr[3] & 0xfd) | tff | rff;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user