Bug#266500: dvdbackup: spelling and grammar errors (2/3)
From
Michael Shields@1:229/2 to
All on Wed Aug 18 04:00:11 2004
[continued from previous message]
candidate = title_set_size_array[0];
}
dual = 1;
@@ -840,7 +840,7 @@
0 , candidate, title_sets);
- /* Now lets see if we can find our candidate among the top most chapters */
+ /* Now let's see if we can find our candidate among the top most chapters */
found_chapter=6;
temp = chapter_chapter_array[0];
for (i=0 ; (i < titles) && (i < 4) ; i++ ) {
@@ -907,7 +907,7 @@
channels_channel_array, title_set_channel_array,
0 , candidate, title_sets);
- /* Now lets see if we can find our candidate among the top most chapters */
+ /* Now let's see if we can find our candidate among the top most chapters */
found_chapter=5;
temp = chapter_chapter_array[0];
@@ -970,7 +970,7 @@
/* Make a dual array with number of audio streams, sub picture streams
and title sets. Tradtionaly the main film has many audio streams
- since it's supposed be synconised e.g. a English film syncronised/dubbed
+ since it's supposed be synchronised e.g. a English film synchronised/dubbed
in German. We are also keeping track of sub titles since it's also indication
of the main film*/
@@ -983,7 +983,7 @@
/* Yes a lot of rant - but it helps me think - some sketch on paper or in the mind
I sketch in the comments - beside it will help you understand the code*/
- /* Okay lets see if the biggest one has most chapters, it also has more subtitles
+ /* Okay let's see if the biggest one has most chapters, it also has more subtitles
and audio tracks than the second one and it's title one.
Done it must be the main film
@@ -994,7 +994,7 @@
Now we fetch the 16:9 by default unless the forced to do 4:3
First check which one is which.
- If the 16:9 is the biggest one and has the same or more subtile, audio streams
+ If the 16:9 is the biggest one and has the same or more subtitle, audio streams
then we are happy unless we are in force 4:3 mode :(
The same goes in reverse if we are in force 4:3 mode
@@ -1052,20 +1052,20 @@
dvd_file_t * dvd_file=NULL;
if (title_set_info->number_of_title_sets + 1 < title_set) {
- fprintf(stderr,"Faild num title test\n");
+ fprintf(stderr,"Failed num title test\n");
return(1);
}
if (title_set_info->title_set[title_set].number_of_vob_files < vob ) { - fprintf(stderr,"Faild vob test\n");
+ fprintf(stderr,"Failed vob test\n");
return(1);
}
if (title_set_info->title_set[title_set].size_vob[0] == 0 ) {
- fprintf(stderr,"Faild vob 1 size test\n");
+ fprintf(stderr,"Failed vob 1 size test\n");
return(0);
} else if (title_set_info->title_set[title_set].size_vob[vob - 1] == 0 ) {
- fprintf(stderr,"Faild vob %d test\n", vob);
+ fprintf(stderr,"Failed vob %d test\n", vob);
return(0);
} else {
size = title_set_info->title_set[title_set].size_vob[vob - 1]/2048;
@@ -1080,7 +1080,7 @@
/* Create VTS_XX_X.VOB */
if (title_set == 0) {
- fprintf(stderr,"Don't try to copy a Title VOB from the VMG domain there aren't any\n");
+ fprintf(stderr,"Don't try to copy a Title VOB from the VMG domain; there aren't any\n");
return(1);
} else {
sprintf(targetname,"%s/%s/VIDEO_TS/VTS_%02i_%i.VOB",targetdir, title_name, title_set, vob);
@@ -1126,14 +1126,14 @@
left = size;
if ((buffer = (unsigned char *)malloc(buff * 2048 * sizeof(buffy))) == NULL) {
- fprintf(stderr, "Out of memory coping %s\n", targetname);
+ fprintf(stderr, "Out of memory copying %s\n", targetname);
close(streamout);
return(1);
}
if ((dvd_file = DVDOpenFile(dvd, title_set, DVD_READ_TITLE_VOBS))== 0) {
- fprintf(stderr, "Faild opending TITLE VOB\n");
+ fprintf(stderr, "Failed opening TITLE VOB\n");
free(buffer);
close(streamout);
return(1);
@@ -1246,14 +1246,14 @@
left = size;
if ((buffer = (unsigned char *)malloc(buff * 2048 * sizeof(buffy))) == NULL) {
- fprintf(stderr, "Out of memory coping %s\n", targetname);
+ fprintf(stderr, "Out of memory copying %s\n", targetname);
close(streamout);
return(1);
}
if ((dvd_file = DVDOpenFile(dvd, title_set, DVD_READ_MENU_VOBS))== 0) { - fprintf(stderr, "Faild opending MENU VOB\n");
+ fprintf(stderr, "Failed opening MENU VOB\n");
free(buffer);
close(streamout);
return(1);
@@ -1359,14 +1359,14 @@
if ((buffer = (unsigned char *)malloc(size * sizeof(buffy))) == NULL) { - fprintf(stderr, "Out of memory coping %s\n", targetname);
+ fprintf(stderr, "Out of memory copying %s\n", targetname);
close(streamout);
return(1);
}
if ((dvd_file = DVDOpenFile(dvd, title_set, DVD_READ_INFO_FILE))== 0) { - fprintf(stderr, "Faild opending IFO for tile set %d\n", title_set);
+ fprintf(stderr, "Failed opening IFO for title set %d\n", title_set);
free(buffer);
close(streamout);
return(1);
@@ -1438,14 +1438,14 @@
/* Copy VIDEO_TS.BUP or VTS_XX_0.BUP, since it's a small file try to copy it in one shot */
if ((buffer = (unsigned char *)malloc(size * sizeof(buffy))) == NULL) { - fprintf(stderr, "Out of memory coping %s\n", targetname);
+ fprintf(stderr, "Out of memory copying %s\n", targetname);
close(streamout);
return(1);
}
if ((dvd_file = DVDOpenFile(dvd, title_set, DVD_READ_INFO_BACKUP_FILE))== 0) {
- fprintf(stderr, "Faild opending BUP for title set %d\n", title_set);
+ fprintf(stderr, "Failed opening BUP for title set %d\n", title_set);
free(buffer);
close(streamout);
return(1);
@@ -1524,7 +1524,7 @@
/* Open DVD device */
if ( !(filehandle = open(device, O_RDONLY)) ) {
- fprintf(stderr, "Can't open secified device %s - check your DVD device\n", device);
+ fprintf(stderr, "Can't open specified device %s - check your DVD device\n", device);
return(1);
}
@@ -1845,14 +1845,14 @@
}
if ( DVDMirrorVMG(_dvd, title_set_info, targetdir, title_name) != 0 ) { - fprintf(stderr,"Mirror of VMG faild\n");
+ fprintf(stderr,"Mirror of VMG failed\n");
DVDFreeTitleSetInfo(title_set_info);
return(1);
}
for ( i=0; i < title_set_info->number_of_title_sets; i++) {
if ( DVDMirrorTitleX(_dvd, title_set_info, i + 1, targetdir, title_name) != 0 ) {
- fprintf(stderr,"Mirror of Title set %d faild\n", i + 1);
+ fprintf(stderr,"Mirror of Title set %d failed\n", i + 1);
DVDFreeTitleSetInfo(title_set_info);
return(1);
}
@@ -1884,13 +1884,13 @@
if ( title_set == 0 ) {
if ( DVDMirrorVMG(_dvd, title_set_info, targetdir, title_name) != 0 ) {
- fprintf(stderr,"Mirror of Title set 0 (VMG) faild\n"); + fprintf(stderr,"Mirror of Title set 0 (VMG) failed\n");
DVDFreeTitleSetInfo(title_set_info);
return(1);
}
} else {
if ( DVDMirrorTitleX(_dvd, title_set_info, title_set, targetdir, title_name) != 0 ) {
- fprintf(stderr,"Mirror of Title set %d faild\n", title_set);
+ fprintf(stderr,"Mirror of Title set %d failed\n", title_set);
DVDFreeTitleSetInfo(title_set_info);
return(1);
}
@@ -1907,7 +1907,7 @@
titles_info = DVDGetInfo(_dvd);
if (!titles_info) {
- fprintf(stderr, "Guess work of main feature film faild\n");
+ fprintf(stderr, "Guess work of main feature film failed\n");
return(1);
}
@@ -1918,7 +1918,7 @@
}
if ( DVDMirrorTitleX(_dvd, title_set_info, titles_info->main_title_set, targetdir, title_name) != 0 ) {
- fprintf(stderr,"Mirror of main featur file which is title set %d faild\n", titles_info->main_title_set);
[continued in next message]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)