path[0] = 0;
// Has to be unknown for file probing to succeed
format = FILE_UNKNOWN;
- fformat[0] = 0;
bits = 0;
byte_order = 0;
signed_ = 0;
strcpy(vcodec, "");
strcpy(acodec, "");
+ strcpy(fformat,"mp4");
ff_audio_options[0] = 0;
ff_sample_format[0] = 0;
ff_audio_bitrate = 0;
interlace_mode = ILACE_MODE_UNDETECTED;
interlace_fixmethod = ILACE_FIXMETHOD_NONE;
+ mp3_bitrate = 224;
ampeg_bitrate = 256;
ampeg_derivative = 3;
void Asset::copy_location(Asset *asset)
{
strcpy(path, asset->path);
- awindow_folder = asset->awindow_folder;
+ folder_no = asset->folder_no;
}
void Asset::copy_format(Asset *asset, int do_index)
else
if(file->tag.title_is("FOLDER"))
{
- const char *string = file->tag.get_property("NUMBER");
- awindow_folder = string ? atoi(string) :
- AWindowGUI::folder_number(file->read_text());
+ folder_no = file->tag.get_property("NUMBER", AW_MEDIA_FOLDER);
}
else
if(file->tag.title_is("VIDEO"))
file->append_newline();
file->tag.set_title("FOLDER");
- file->tag.set_property("NUMBER", awindow_folder);
+ file->tag.set_property("NUMBER", folder_no);
file->append_tag();
file->tag.set_title("/FOLDER");
file->append_tag();