};
dvd_generator(const video::frame_params & frame_params,
- mpeg_encoder encoder)
- : frame_params_(frame_params),
- encoder_(encoder)
- {}
+ mpeg_encoder encoder);
// Create a new empty menu; return a reference to it.
// The client must call generate_menu_vob() for each menu before
// Menu definition.
struct menu
{
- menu();
-
- // Temporary file in which the menu VOB should be generated.
- // This is created as an empty file and then closed.
- boost::shared_ptr<temp_file> vob_temp;
-
// References to the menus and titles that the menu buttons
// are meant to link to, in the same order as the buttons.
std::vector<menu_entry> entries;
};
+ temp_dir temp_dir_;
video::frame_params frame_params_;
mpeg_encoder encoder_;
std::vector<menu> menus_;