diff options
author | Mike Isely <isely@pobox.com> | 2006-06-25 19:04:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-26 23:17:30 -0400 |
commit | b46cfa805ed12c11fea0adc8e4058000c2e67314 (patch) | |
tree | 01750efb4f7fb3007c5cbf271bd8606ad639715e /drivers/media/video | |
parent | eb8e0ee4f51a89d569c01d5b09a8cbc935c72a4c (diff) |
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 1829029cc9b9..45faabe96584 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -2111,17 +2111,7 @@ int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw) | |||
2111 | } | 2111 | } |
2112 | 2112 | ||
2113 | if (hdw->std_dirty || | 2113 | if (hdw->std_dirty || |
2114 | hdw->interlace_dirty || | 2114 | 0) { |
2115 | hdw->vbr_dirty || | ||
2116 | hdw->videobitrate_dirty || | ||
2117 | hdw->videopeak_dirty || | ||
2118 | hdw->audiobitrate_dirty || | ||
2119 | hdw->audiolayer_dirty || | ||
2120 | hdw->audiocrc_dirty || | ||
2121 | hdw->audioemphasis_dirty || | ||
2122 | hdw->srate_dirty || | ||
2123 | hdw->res_ver_dirty || | ||
2124 | hdw->res_hor_dirty) { | ||
2125 | /* If any of this changes, then the encoder needs to be | 2115 | /* If any of this changes, then the encoder needs to be |
2126 | reconfigured, and we need to reset the stream. */ | 2116 | reconfigured, and we need to reset the stream. */ |
2127 | stale_subsys_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG); | 2117 | stale_subsys_mask |= (1<<PVR2_SUBSYS_B_ENC_CFG); |