The video demo node is not a physical input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3315 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,7 +17,7 @@ MediaAddOn::MediaAddOn(image_id imid)
|
|||||||
/* Customize these parameters to match those of your node */
|
/* Customize these parameters to match those of your node */
|
||||||
fFlavorInfo.name = "Demo Video Producer";
|
fFlavorInfo.name = "Demo Video Producer";
|
||||||
fFlavorInfo.info = "Demo Video Producer";
|
fFlavorInfo.info = "Demo Video Producer";
|
||||||
fFlavorInfo.kinds = B_BUFFER_PRODUCER | B_CONTROLLABLE | B_PHYSICAL_INPUT;
|
fFlavorInfo.kinds = B_BUFFER_PRODUCER | B_CONTROLLABLE;
|
||||||
fFlavorInfo.flavor_flags = 0;
|
fFlavorInfo.flavor_flags = 0;
|
||||||
fFlavorInfo.internal_id = 0;
|
fFlavorInfo.internal_id = 0;
|
||||||
fFlavorInfo.possible_count = 5; // limited to 5 instances (just for testing)
|
fFlavorInfo.possible_count = 5; // limited to 5 instances (just for testing)
|
||||||
|
|||||||
@@ -58,8 +58,6 @@ VideoProducer::VideoProducer(
|
|||||||
|
|
||||||
fOutput.destination = media_destination::null;
|
fOutput.destination = media_destination::null;
|
||||||
|
|
||||||
AddNodeKind(B_PHYSICAL_INPUT);
|
|
||||||
|
|
||||||
fInitStatus = B_OK;
|
fInitStatus = B_OK;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user