- Mf::Video::Attributes attributes(settings);
- attributes.caption = PACKAGE_STRING;
- attributes.icon = Mf::Resource::getPath(PACKAGE".png");
-
- Mf::Video video(attributes);
+ //std::string iconPath(PACKAGE".png");
+ //iconPath = moof::resource::find_file(iconPath);
+ //moof::image icon(iconPath);
+ //icon.set_as_icon();
+ moof::image_handle icon(PACKAGE".png");
+ if (icon) icon->set_as_icon();
+
+ class moof::video::attributes attributes(settings);
+ moof::video video(PACKAGE_STRING, attributes);