To: | Philips Webcam Linux Driver <> |
---|---|
Subject: | [pwc] remove codec check in set_video_mode_Nala |
From: | matthieu castet <> |
Date: | Sun, 26 Feb 2006 21:47:41 +0100 |
Hi,set_video_mode_Nala is only call for codec1 device, no need to check in that fonction if we are codec1 or codec23. Matthieu --- pwc-ctrl.c.old 2006-02-26 21:44:50.000000000 +0100 +++ pwc-ctrl.c 2006-02-26 21:45:58.000000000 +0100 @@ -219,13 +219,8 @@ PWC_DEBUG_MODULE("Failed to send video command... %d\n", ret); return ret; } - if (pEntry->compressed && pdev->vpalette != VIDEO_PALETTE_RAW) { - if (DEVICE_USE_CODEC1(pdev->type)) - pwc_dec1_init(pdev->type, pdev->release, buf, pdev->decompress_data); - else - pwc_dec23_init(pdev->type, pdev->release, buf, pdev->decompress_data); - } - + if (pEntry->compressed && pdev->vpalette != VIDEO_PALETTE_RAW) + pwc_dec1_init(pdev->type, pdev->release, buf, pdev->decompress_data); pdev->cmd_len = 3; memcpy(pdev->cmd_buf, buf, 3); _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [pwc] trivial bug in pwc-v4l.c, Michael C Wescott |
---|---|
Next by Date: | [pwc] spec available, Michael C Wescott |
Previous by Thread: | [pwc] trivial bug in pwc-v4l.c, Michael C Wescott |
Next by Thread: | [pwc] spec available, Michael C Wescott |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU