ddennedy / dvgrab

Command line FireWire DV and HDV capture tool for Linux
GNU General Public License v2.0
35 stars 13 forks source link

Add special case in discoverAVC to recognize Sony DVMC-DA1 as a video source #16

Closed aaeegg closed 11 months ago

aaeegg commented 12 months ago

The Sony DVMC-DA1 is a media converter without a tape transport. discoverAVC expects video sources to identify as a VCR in response to a SUBUNIT INFO Function Control Protocol command. But the DVMC-DA1 doesn't implement the AV/C command set, so it doesn't respond to the SUBUNIT INFO request at all. As a result, dvgrab doesn't know the device is a video source, so it won't try to use it unless you explicitly point dvgrab at it by GUID.

discoverAVC already has one special case to recognize Motorola DCT set-top boxes. This change adds another special case to also recognize the DVMC-DA1. dvgrab will then use the DVMC-DA1 without requiring a --guid option.

Since discoverAVC will potentially discover a non-AV/C device, it also changes the status text from "Found AV/C device" to "Found video device".