From b74540ee0d047cb76a1e6bdac7648e02d861c875 Mon Sep 17 00:00:00 2001 From: beveloper Date: Sun, 25 May 2003 15:50:11 +0000 Subject: [PATCH] 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 --- src/add-ons/media/media-add-ons/video_producer_demo/AddOn.cpp | 2 +- .../media/media-add-ons/video_producer_demo/Producer.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/add-ons/media/media-add-ons/video_producer_demo/AddOn.cpp b/src/add-ons/media/media-add-ons/video_producer_demo/AddOn.cpp index ef8db61b6a..e0d8b1a46e 100644 --- a/src/add-ons/media/media-add-ons/video_producer_demo/AddOn.cpp +++ b/src/add-ons/media/media-add-ons/video_producer_demo/AddOn.cpp @@ -17,7 +17,7 @@ MediaAddOn::MediaAddOn(image_id imid) /* Customize these parameters to match those of your node */ fFlavorInfo.name = "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.internal_id = 0; fFlavorInfo.possible_count = 5; // limited to 5 instances (just for testing) diff --git a/src/add-ons/media/media-add-ons/video_producer_demo/Producer.cpp b/src/add-ons/media/media-add-ons/video_producer_demo/Producer.cpp index 9b97ca8482..1f154e82dd 100644 --- a/src/add-ons/media/media-add-ons/video_producer_demo/Producer.cpp +++ b/src/add-ons/media/media-add-ons/video_producer_demo/Producer.cpp @@ -58,8 +58,6 @@ VideoProducer::VideoProducer( fOutput.destination = media_destination::null; - AddNodeKind(B_PHYSICAL_INPUT); - fInitStatus = B_OK; return; }