]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB (4242): Don't suspend encoder when changing its attributes (in pvrusb2)
authorMike Isely <isely@pobox.com>
Sun, 25 Jun 2006 23:04:53 +0000 (20:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 27 Jun 2006 03:17:30 +0000 (00:17 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index 1829029cc9b9d9f9803dd3fe372bb22ba0ccf48c..45faabe96584593151a5147585da246b02beca7e 100644 (file)
@@ -2111,17 +2111,7 @@ int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw)
        }
 
        if (hdw->std_dirty ||
-           hdw->interlace_dirty ||
-           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) {
+           0) {
                /* If any of this changes, then the encoder needs to be
                   reconfigured, and we need to reset the stream. */
                stale_subsys_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG);