the first index is zero, not one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31320 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bb52f762f2
commit
e602845c35
@ -166,8 +166,8 @@ FireWireDVAddOn::AddDevice(FireWireCard* card, const char* path)
|
||||
// setup supported formats (the lazy way)
|
||||
memset(dev->in_formats, 0, sizeof(dev->in_formats));
|
||||
memset(dev->out_formats, 0, sizeof(dev->out_formats));
|
||||
dev->in_formats[1].type = B_MEDIA_ENCODED_VIDEO;
|
||||
dev->out_formats[1].type = B_MEDIA_ENCODED_VIDEO;
|
||||
dev->in_formats[0].type = B_MEDIA_ENCODED_VIDEO;
|
||||
dev->out_formats[0].type = B_MEDIA_ENCODED_VIDEO;
|
||||
|
||||
// setup flavor info
|
||||
dev->flavor.name = dev->name;
|
||||
|
Loading…
Reference in New Issue
Block a user