|
Lines 1012-1020
Link Here
|
| 1012 |
return NULL; |
1012 |
return NULL; |
| 1013 |
} |
1013 |
} |
| 1014 |
|
1014 |
|
|
|
1015 |
profile = ogmrip_options_dialog_get_active_profile (OGMRIP_OPTIONS_DIALOG (data->options_dialog)); |
| 1016 |
if (!profile) |
| 1017 |
{ |
| 1018 |
g_set_error (error, OGMDVD_DISC_ERROR, OGMDVD_DISC_ERROR_UNKNOWN, "<b>%s</b>\n\n%s", |
| 1019 |
_("No available profile"), _("You must create at least one profile before you can encode.")); |
| 1020 |
return NULL; |
| 1021 |
} |
| 1022 |
|
| 1015 |
encoding = ogmrip_encoding_new (title, OGMRIP_DEFAULT_FILE_NAME ".avi"); |
1023 |
encoding = ogmrip_encoding_new (title, OGMRIP_DEFAULT_FILE_NAME ".avi"); |
| 1016 |
|
|
|
| 1017 |
profile = ogmrip_options_dialog_get_active_profile (OGMRIP_OPTIONS_DIALOG (data->options_dialog)); |
| 1018 |
ogmrip_encoding_set_profile (encoding, profile); |
1024 |
ogmrip_encoding_set_profile (encoding, profile); |
| 1019 |
|
1025 |
|
| 1020 |
ogmrip_encoding_set_label (encoding, gtk_entry_get_text (GTK_ENTRY (data->title_entry))); |
1026 |
ogmrip_encoding_set_label (encoding, gtk_entry_get_text (GTK_ENTRY (data->title_entry))); |