V4L/DVB (4242): Don't suspend encoder when changing its attributes (in pvrusb2)
Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
eb8e0ee4f5
commit
b46cfa805e
@@ -2111,17 +2111,7 @@ int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hdw->std_dirty ||
|
if (hdw->std_dirty ||
|
||||||
hdw->interlace_dirty ||
|
0) {
|
||||||
hdw->vbr_dirty ||
|
|
||||||
hdw->videobitrate_dirty ||
|
|
||||||
hdw->videopeak_dirty ||
|
|
||||||
hdw->audiobitrate_dirty ||
|
|
||||||
hdw->audiolayer_dirty ||
|
|
||||||
hdw->audiocrc_dirty ||
|
|
||||||
hdw->audioemphasis_dirty ||
|
|
||||||
hdw->srate_dirty ||
|
|
||||||
hdw->res_ver_dirty ||
|
|
||||||
hdw->res_hor_dirty) {
|
|
||||||
/* If any of this changes, then the encoder needs to be
|
/* If any of this changes, then the encoder needs to be
|
||||||
reconfigured, and we need to reset the stream. */
|
reconfigured, and we need to reset the stream. */
|
||||||
stale_subsys_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG);
|
stale_subsys_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG);
|
||||||
|
Reference in New Issue
Block a user