1
0
Fork 0

V4L/DVB (9301): pvrusb2: Keep MPEG PTSs from drifting away

(Mike Isely) This change was empirically figured out by Boris Dores
after empirically comparing against behavior in the Windows driver.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hifive-unleashed-5.1
Boris Dores 2008-10-19 17:00:30 -03:00 committed by Mauro Carvalho Chehab
parent c82732a428
commit 3f93d1adca
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ static int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC,4, 0,3,0,0);
ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC,4,15,0,0,0);
/* prevent the PTSs from slowly drifting away in the generated
MPEG stream */
ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC, 2, 4, 1);
return ret;
}