comparison transform/RealTimeEffectModelTransformer.cpp @ 686:b4a8d8221eaf debug-output

Remove most toStdString calls (no longer needed, with debug header)
author Chris Cannam
date Thu, 12 May 2011 17:31:24 +0100
parents b6dc6c7f402c
children 06f13a3b9e9e
comparison
equal deleted inserted replaced
685:99222d4bfc78 686:b4a8d8221eaf
41 41
42 QString pluginId = transform.getPluginIdentifier(); 42 QString pluginId = transform.getPluginIdentifier();
43 43
44 if (!m_transform.getBlockSize()) m_transform.setBlockSize(1024); 44 if (!m_transform.getBlockSize()) m_transform.setBlockSize(1024);
45 45
46 // std::cerr << "RealTimeEffectModelTransformer::RealTimeEffectModelTransformer: plugin " << pluginId.toStdString() << ", output " << output << std::endl; 46 // std::cerr << "RealTimeEffectModelTransformer::RealTimeEffectModelTransformer: plugin " << pluginId << ", output " << output << std::endl;
47 47
48 RealTimePluginFactory *factory = 48 RealTimePluginFactory *factory =
49 RealTimePluginFactory::instanceFor(pluginId); 49 RealTimePluginFactory::instanceFor(pluginId);
50 50
51 if (!factory) { 51 if (!factory) {
52 std::cerr << "RealTimeEffectModelTransformer: No factory available for plugin id \"" 52 std::cerr << "RealTimeEffectModelTransformer: No factory available for plugin id \""
53 << pluginId.toStdString() << "\"" << std::endl; 53 << pluginId << "\"" << std::endl;
54 return; 54 return;
55 } 55 }
56 56
57 DenseTimeValueModel *input = getConformingInput(); 57 DenseTimeValueModel *input = getConformingInput();
58 if (!input) return; 58 if (!input) return;
62 m_transform.getBlockSize(), 62 m_transform.getBlockSize(),
63 input->getChannelCount()); 63 input->getChannelCount());
64 64
65 if (!m_plugin) { 65 if (!m_plugin) {
66 std::cerr << "RealTimeEffectModelTransformer: Failed to instantiate plugin \"" 66 std::cerr << "RealTimeEffectModelTransformer: Failed to instantiate plugin \""
67 << pluginId.toStdString() << "\"" << std::endl; 67 << pluginId << "\"" << std::endl;
68 return; 68 return;
69 } 69 }
70 70
71 TransformFactory::getInstance()->setPluginParameters(m_transform, m_plugin); 71 TransformFactory::getInstance()->setPluginParameters(m_transform, m_plugin);
72 72