From 31dfc2e959e330a74c41ff51af3a177175c8cb6f Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Sun, 25 Jun 2006 18:04:53 -0500 Subject: Don't suspend encoder when changing its attributes (in pvrusb2) From: Mike Isely Signed-off-by: Mike Isely --- linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 44ee1d381..ac4e8bc18 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -2112,6 +2112,7 @@ int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw) } if (hdw->std_dirty || +#if 0 /* Don't toggle encoder for now - seems to work better this way */ hdw->interlace_dirty || hdw->vbr_dirty || hdw->videobitrate_dirty || @@ -2122,7 +2123,9 @@ int pvr2_hdw_commit_ctl_internal(struct pvr2_hdw *hdw) hdw->audioemphasis_dirty || hdw->srate_dirty || hdw->res_ver_dirty || - hdw->res_hor_dirty) { + hdw->res_hor_dirty || +#endif + 0) { /* If any of this changes, then the encoder needs to be reconfigured, and we need to reset the stream. */ stale_subsys_mask |= (1<