]> granicus.if.org Git - handbrake/commitdiff
subtitles: simplify and shorten subtitle descriptions (#591)
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 10 Mar 2017 19:56:55 +0000 (12:56 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2017 19:56:55 +0000 (12:56 -0700)
* subtitles: simplify and shorten subtitle descriptions

Generally, it eliminates parens to make things more readable.

I.e. it turns this:
English (Closed Caption)(Wide Screen)(Bitmap)(VOBSUB)

Into this:
English, Closed Caption [Wide Screen, VOBSUB]

* Revise punctuation per BradleyS request

* fix subtitle description formatting

* incorporate suggestions from PR

14 files changed:
gtk/src/hb-backend.c
gtk/src/subtitlehandler.c
libhb/bd.c
libhb/common.c
libhb/decavcodec.c
libhb/dvd.c
libhb/dvdnav.c
libhb/stream.c
libhb/work.c
macosx/HBSubtitles.m
macosx/HBTitle.m
test/test.c
win/CS/HandBrakeWPF/Services/Scan/Model/Subtitle.cs
win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs

index eacc73cb5e4643961cc7b86b53c16d2df7a45abd..38e22eca71c8686b60581168ecae3a9f787428e2 100644 (file)
@@ -2352,8 +2352,7 @@ subtitle_track_opts_set(signal_user_data_t *ud, const gchar *name,
         char idx[4];
 
         subtitle = hb_list_item(title->list_subtitle, ii);
-        opt = g_strdup_printf("%d - %s (%s)", ii+1, subtitle->lang,
-                              hb_subsource_name(subtitle->source));
+        opt = g_strdup_printf("%d - %s", ii+1, subtitle->lang);
         snprintf(idx, 4, "%d", ii);
 
         gtk_list_store_append(store, &iter);
index 35d0af10b6f8668add72c6b33205feb051c6ce26..f9833a5a727f0caa945a18aa93b860dded7db54e 100644 (file)
@@ -386,9 +386,7 @@ subtitle_get_track_description(GhbValue *settings, GhbValue *subsettings)
             subtitle = ghb_get_subtitle_info(title, track);
             if (subtitle != NULL)
             {
-                desc = g_strdup_printf("%d - %s (%s)", track + 1,
-                                       subtitle->lang,
-                                       hb_subsource_name(subtitle->source));
+                desc = g_strdup_printf("%d - %s", track + 1, subtitle->lang);
             }
         }
     }
index 98f49206cd73a063062b557c5feca20d554ad156..843fd6c5350fdcf056a84c6c46849d2c3c5b0611 100644 (file)
@@ -95,11 +95,6 @@ static void add_subtitle(int track, hb_list_t *list_subtitle, BLURAY_STREAM_INFO
 
     subtitle->track = track;
     subtitle->id = bdsub->pid;
-    lang = lang_for_code2( (char*)bdsub->lang );
-    snprintf( subtitle->lang, sizeof( subtitle->lang ), "%s",
-              strlen(lang->native_name) ? lang->native_name : lang->eng_name);
-    snprintf( subtitle->iso639_2, sizeof( subtitle->iso639_2 ), "%s",
-              lang->iso639_2);
 
     switch ( bdsub->coding_type )
     {
@@ -113,6 +108,13 @@ static void add_subtitle(int track, hb_list_t *list_subtitle, BLURAY_STREAM_INFO
             free( subtitle );
             return;
     }
+    lang = lang_for_code2( (char*)bdsub->lang );
+    snprintf(subtitle->lang, sizeof( subtitle->lang ), "%s [%s]",
+             strlen(lang->native_name) ? lang->native_name : lang->eng_name,
+             hb_subsource_name(subtitle->source));
+    snprintf(subtitle->iso639_2, sizeof( subtitle->iso639_2 ), "%s",
+             lang->iso639_2);
+
     subtitle->reg_desc = STR4_TO_UINT32("HDMV");
     subtitle->stream_type = bdsub->coding_type;
     subtitle->codec = codec;
index 98604484564d21ccc49021b81713bfcdaec18565..11928e519624a5c3d20d10ce77f00e2f443a9111 100644 (file)
@@ -4686,10 +4686,10 @@ int hb_subtitle_add(const hb_job_t * job, const hb_subtitle_config_t * subtitlec
 
 int hb_srt_add( const hb_job_t * job,
                 const hb_subtitle_config_t * subtitlecfg,
-                const char *lang )
+                const char *lang_code )
 {
     hb_subtitle_t *subtitle;
-    iso639_lang_t *language = NULL;
+    iso639_lang_t *lang = NULL;
 
     subtitle = calloc( 1, sizeof( *subtitle ) );
     if (subtitle == NULL)
@@ -4703,14 +4703,16 @@ int hb_srt_add( const hb_job_t * job,
     subtitle->source = SRTSUB;
     subtitle->codec = WORK_DECSRTSUB;
 
-    language = lang_for_code2(lang);
-    if (language == NULL)
+    lang = lang_for_code2(lang_code);
+    if (lang == NULL)
     {
-        hb_log("hb_srt_add: unknown language code (%s)", lang);
-        language = lang_for_code2("und");
+        hb_log("hb_srt_add: unknown language code (%s)", lang_code);
+        lang = lang_for_code2("und");
     }
-    strcpy(subtitle->lang, language->eng_name);
-    strcpy(subtitle->iso639_2, language->iso639_2);
+    snprintf(subtitle->lang, sizeof(subtitle->lang), "%s [%s]",
+             strlen(lang->native_name) ? lang->native_name : lang->eng_name,
+             hb_subsource_name(subtitle->source));
+    strcpy(subtitle->iso639_2, lang->iso639_2);
 
     subtitle->config = *subtitlecfg;
     hb_list_add(job->list_subtitle, subtitle);
index bed5d2cfb9bb75b9c32862caffef2d1cabccd831..e038efd6dbb77d45e97d08b9998d175876317aba 100644 (file)
@@ -40,6 +40,7 @@
 
 #include "hb.h"
 #include "hbffmpeg.h"
+#include "lang.h"
 #include "audio_resample.h"
 
 #ifdef USE_QSV
@@ -1226,29 +1227,37 @@ static int decodeFrame( hb_work_object_t *w, packet_info_t * packet_info )
                 }
                 if (subtitle == NULL)
                 {
-                    subtitle = calloc(sizeof( hb_subtitle_t ), 1);
+                    iso639_lang_t * lang;
+                    hb_audio_t    * audio;
+
+                    subtitle        = calloc(sizeof( hb_subtitle_t ), 1);
                     subtitle->track = hb_list_count(pv->title->list_subtitle);
-                    subtitle->id = 0;
-                    subtitle->format = TEXTSUB;
-                    subtitle->source = CC608SUB;
+                    subtitle->id          = 0;
+                    subtitle->format      = TEXTSUB;
+                    subtitle->source      = CC608SUB;
                     subtitle->config.dest = PASSTHRUSUB;
-                    subtitle->codec = WORK_DECCC608;
-                    subtitle->type = 5;
-                    snprintf(subtitle->lang, sizeof( subtitle->lang ),
-                             "Closed Captions");
+                    subtitle->codec       = WORK_DECCC608;
+                    subtitle->type        = 5;
+
                     /*
                      * The language of the subtitles will be the same as the
                      * first audio track, i.e. the same as the video.
                      */
-                    hb_audio_t *audio = hb_list_item(pv->title->list_audio, 0);
+                    audio = hb_list_item(pv->title->list_audio, 0);
                     if (audio != NULL)
                     {
-                        snprintf(subtitle->iso639_2, sizeof(subtitle->iso639_2),
-                                 "%s", audio->config.lang.iso639_2);
+                        lang = lang_for_code2( audio->config.lang.iso639_2 );
                     } else {
-                        snprintf(subtitle->iso639_2, sizeof(subtitle->iso639_2),
-                                 "und");
+                        lang = lang_for_code2( "und" );
                     }
+                    snprintf(subtitle->lang, sizeof(subtitle->lang),
+                             "%s, Closed Caption [%s]",
+                             strlen(lang->native_name) ? lang->native_name :
+                                                         lang->eng_name,
+                             hb_subsource_name(subtitle->source));
+                    snprintf(subtitle->iso639_2, sizeof(subtitle->iso639_2),
+                             "%s", lang->iso639_2);
+
                     hb_list_add(pv->title->list_subtitle, subtitle);
                 }
             }
index 1cca5b98f8679f661593fc61a44b4f6879448434..078806d89b14794286c6e85f29ee259b224b6166 100644 (file)
@@ -213,31 +213,31 @@ static void add_subtitle( hb_list_t * list_subtitle, int position,
     switch (lang_extension)
     {
         case 2:
-            strcat( subtitle->lang, " (Caption with bigger size character)" );
+            strcat(subtitle->lang, " Large Type");
             break;
         case 3:
-            strcat( subtitle->lang, " (Caption for Children)" );
+            strcat(subtitle->lang, " Children");
             break;
         case 5:
-            strcat( subtitle->lang, " (Closed Caption)" );
+            strcat(subtitle->lang, " Closed Caption");
             break;
         case 6:
-            strcat( subtitle->lang, " (Closed Caption with bigger size character)" );
+            strcat(subtitle->lang, " Closed Caption, Large Type");
             break;
         case 7:
-            strcat( subtitle->lang, " (Closed Caption for Children)" );
+            strcat(subtitle->lang, " Closed Caption, Children");
             break;
         case 9:
-            strcat( subtitle->lang, " (Forced Caption)" );
+            strcat(subtitle->lang, " Forced");
             break;
         case 13:
-            strcat( subtitle->lang, " (Director's Commentary)" );
+            strcat(subtitle->lang, " Director's Commentary");
             break;
         case 14:
-            strcat( subtitle->lang, " (Director's Commentary with bigger size character)" );
+            strcat(subtitle->lang, " Director's Commentary, Large Type");
             break;
         case 15:
-            strcat( subtitle->lang, " (Director's Commentary for Children)" );
+            strcat(subtitle->lang, " Director's Commentary, Children");
         default:
             break;
     }
@@ -245,21 +245,24 @@ static void add_subtitle( hb_list_t * list_subtitle, int position,
     switch (style)
     {
         case HB_VOBSUB_STYLE_4_3:
-            strcat( subtitle->lang, " (4:3)" );
+            strcat(subtitle->lang, " (4:3)");
             break;
         case HB_VOBSUB_STYLE_WIDE:
-            strcat( subtitle->lang, " (Wide Screen)" );
+            strcat(subtitle->lang, " (Wide Screen)");
             break;
         case HB_VOBSUB_STYLE_LETTERBOX:
-            strcat( subtitle->lang, " (Letterbox)" );
+            strcat(subtitle->lang, " (Letterbox)");
             break;
         case HB_VOBSUB_STYLE_PANSCAN:
-            strcat( subtitle->lang, " (Pan & Scan)" );
+            strcat(subtitle->lang, " (Pan & Scan)");
             break;
     }
+    strcat(subtitle->lang, " [");
+    strcat(subtitle->lang, hb_subsource_name(subtitle->source));
+    strcat(subtitle->lang, "]");
 
-    hb_log( "scan: id=0x%x, lang=%s, 3cc=%s ext=%i", subtitle->id,
-            subtitle->lang, subtitle->iso639_2, lang_extension );
+    hb_log("scan: id=0x%x, lang=%s, 3cc=%s ext=%i", subtitle->id,
+           subtitle->lang, subtitle->iso639_2, lang_extension);
 
     hb_list_add(list_subtitle, subtitle);
 }
index ed7dd26c7ddfd04becfd495dd5970e7eb761b126..4a1cbfb5775899130200024ef500c8ff03cb343c 100644 (file)
@@ -357,31 +357,31 @@ static void add_subtitle( hb_list_t * list_subtitle, int position,
     switch (lang_extension)
     {
         case 2:
-            strcat( subtitle->lang, " (Caption with bigger size character)" );
+            strcat(subtitle->lang, " Large Type");
             break;
         case 3:
-            strcat( subtitle->lang, " (Caption for Children)" );
+            strcat(subtitle->lang, " Children");
             break;
         case 5:
-            strcat( subtitle->lang, " (Closed Caption)" );
+            strcat(subtitle->lang, " Closed Caption");
             break;
         case 6:
-            strcat( subtitle->lang, " (Closed Caption with bigger size character)" );
+            strcat(subtitle->lang, " Closed Caption, Large Type");
             break;
         case 7:
-            strcat( subtitle->lang, " (Closed Caption for Children)" );
+            strcat(subtitle->lang, " Closed Caption, Children");
             break;
         case 9:
-            strcat( subtitle->lang, " (Forced Caption)" );
+            strcat(subtitle->lang, " Forced");
             break;
         case 13:
-            strcat( subtitle->lang, " (Director's Commentary)" );
+            strcat(subtitle->lang, " Director's Commentary");
             break;
         case 14:
-            strcat( subtitle->lang, " (Director's Commentary with bigger size character)" );
+            strcat(subtitle->lang, " Director's Commentary, Large Type");
             break;
         case 15:
-            strcat( subtitle->lang, " (Director's Commentary for Children)" );
+            strcat(subtitle->lang, " Director's Commentary, Children");
         default:
             break;
     }
@@ -389,21 +389,24 @@ static void add_subtitle( hb_list_t * list_subtitle, int position,
     switch (style)
     {
         case HB_VOBSUB_STYLE_4_3:
-            strcat( subtitle->lang, " (4:3)" );
+            strcat(subtitle->lang, " (4:3)");
             break;
         case HB_VOBSUB_STYLE_WIDE:
-            strcat( subtitle->lang, " (Wide Screen)" );
+            strcat(subtitle->lang, " (Wide Screen)");
             break;
         case HB_VOBSUB_STYLE_LETTERBOX:
-            strcat( subtitle->lang, " (Letterbox)" );
+            strcat(subtitle->lang, " (Letterbox)");
             break;
         case HB_VOBSUB_STYLE_PANSCAN:
-            strcat( subtitle->lang, " (Pan & Scan)" );
+            strcat(subtitle->lang, " (Pan & Scan)");
             break;
     }
+    strcat(subtitle->lang, " [");
+    strcat(subtitle->lang, hb_subsource_name(subtitle->source));
+    strcat(subtitle->lang, "]");
 
-    hb_log( "scan: id=0x%x, lang=%s, 3cc=%s ext=%i", subtitle->id,
-            subtitle->lang, subtitle->iso639_2, lang_extension );
+    hb_log("scan: id=0x%x, lang=%s, 3cc=%s ext=%i", subtitle->id,
+           subtitle->lang, subtitle->iso639_2, lang_extension);
 
     hb_list_add(list_subtitle, subtitle);
 }
index 69af167b76854315a71cf1848340f11000560a5e..baa53018f4f1c5ef734a4e611e18ff8826ba95f0 100644 (file)
@@ -1964,11 +1964,6 @@ static void pes_add_subtitle_to_title(
 
     subtitle->track = idx;
     subtitle->id = id;
-    lang = lang_for_code( pes->lang_code );
-    snprintf( subtitle->lang, sizeof( subtitle->lang ), "%s",
-              strlen(lang->native_name) ? lang->native_name : lang->eng_name);
-    snprintf( subtitle->iso639_2, sizeof( subtitle->iso639_2 ), "%s",
-              lang->iso639_2);
 
     switch ( pes->codec )
     {
@@ -1988,6 +1983,12 @@ static void pes_add_subtitle_to_title(
             free( subtitle );
             return;
     }
+    lang = lang_for_code( pes->lang_code );
+    snprintf(subtitle->lang, sizeof( subtitle->lang ), "%s [%s]",
+             strlen(lang->native_name) ? lang->native_name : lang->eng_name,
+             hb_subsource_name(subtitle->source));
+    snprintf(subtitle->iso639_2, sizeof( subtitle->iso639_2 ), "%s",
+             lang->iso639_2);
     subtitle->reg_desc = stream->reg_desc;
     subtitle->stream_type = pes->stream_type;
     subtitle->substream_type = pes->stream_id_ext;
@@ -5354,12 +5355,14 @@ static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id
     }
 
     AVDictionaryEntry *tag;
-    iso639_lang_t *language;
+    iso639_lang_t *lang;
 
     tag = av_dict_get( st->metadata, "language", NULL, 0 );
-    language = lang_for_code2( tag ? tag->value : "und" );
-    strcpy( subtitle->lang, language->eng_name );
-    strncpy( subtitle->iso639_2, language->iso639_2, 4 );
+    lang = lang_for_code2( tag ? tag->value : "und" );
+    snprintf(subtitle->lang, sizeof( subtitle->lang ), "%s [%s]",
+             strlen(lang->native_name) ? lang->native_name : lang->eng_name,
+             hb_subsource_name(subtitle->source));
+    strncpy(subtitle->iso639_2, lang->iso639_2, 4);
 
     // Copy the extradata for the subtitle track
     if (codecpar->extradata != NULL)
@@ -5375,7 +5378,7 @@ static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id
         subtitle->config.default_track = 1;
     }
 
-    subtitle->track = id;
+    subtitle->track = hb_list_count(title->list_subtitle);
     hb_list_add(title->list_subtitle, subtitle);
 }
 
index 5af53cb5df5ebb6bedb86685546f93ca04ab1349..1358bc12eb997a7fdb0188efa838ba0c49526567 100644 (file)
@@ -540,29 +540,33 @@ void hb_display_job_info(hb_job_t *job)
         {
             if( job->indepth_scan )
             {
-                hb_log( "   + subtitle, %s (track %d, id 0x%x) %s [%s]",
+                hb_log( "   + subtitle, %s (track %d, id 0x%x, %s)",
                         subtitle->lang, subtitle->track, subtitle->id,
-                        subtitle->format == PICTURESUB ? "Picture" : "Text",
-                        hb_subsource_name( subtitle->source ) );
+                        subtitle->format == PICTURESUB ? "Picture" : "Text");
             }
             else if( subtitle->source == SRTSUB )
             {
                 /* For SRT, print offset and charset too */
-                hb_log( " * subtitle track %d, %s (track %d, id 0x%x) Text [SRT] -> %s%s, offset: %"PRId64", charset: %s",
-                        subtitle->out_track, subtitle->lang, subtitle->track, subtitle->id,
-                        subtitle->config.dest == RENDERSUB ? "Render/Burn-in" : "Passthrough",
-                        subtitle->config.default_track ? ", Default" : "",
-                        subtitle->config.offset, subtitle->config.src_codeset );
+                hb_log(" * subtitle track %d, %s (track %d, id 0x%x, Text) -> "
+                       "%s%s, offset: %"PRId64", charset: %s",
+                       subtitle->out_track, subtitle->lang, subtitle->track,
+                       subtitle->id,
+                       subtitle->config.dest == RENDERSUB ? "Render/Burn-in"
+                                                          : "Passthrough",
+                       subtitle->config.default_track ? ", Default" : "",
+                       subtitle->config.offset, subtitle->config.src_codeset);
             }
             else
             {
-                hb_log( " * subtitle track %d, %s (track %d, id 0x%x) %s [%s] -> %s%s%s",
-                        subtitle->out_track, subtitle->lang, subtitle->track, subtitle->id,
-                        subtitle->format == PICTURESUB ? "Picture" : "Text",
-                        hb_subsource_name( subtitle->source ),
-                        subtitle->config.dest == RENDERSUB ? "Render/Burn-in" : "Passthrough",
-                        subtitle->config.force ? ", Forced Only" : "",
-                        subtitle->config.default_track ? ", Default" : "" );
+                hb_log(" * subtitle track %d, %s (track %d, id 0x%x, %s) -> "
+                       "%s%s%s",
+                       subtitle->out_track, subtitle->lang, subtitle->track,
+                       subtitle->id,
+                       subtitle->format == PICTURESUB ? "Picture" : "Text",
+                       subtitle->config.dest == RENDERSUB ? "Render/Burn-in"
+                                                          : "Passthrough",
+                       subtitle->config.force ? ", Forced Only" : "",
+                       subtitle->config.default_track ? ", Default" : "" );
             }
         }
     }
index 7a0ca382898f6959f7dd4db067c55d90e0ee5237..a45643c326698a75eb7fbf4c909ae6fb65283e0b 100644 (file)
@@ -60,31 +60,10 @@ extern NSString *keySubTrackSrtFileURLBookmark;
 
         NSMutableArray *sourceTracks = [job.title.subtitlesTracks mutableCopy];
 
-        NSMutableSet<NSString *> *forcedSourceNamesArray = [NSMutableSet set];
         int foreignAudioType = VOBSUB;
-        for (NSDictionary *dict in _sourceTracks)
-        {
-            enum subsource source = [dict[keySubTrackType] intValue];
-            NSString *name = @(hb_subsource_name(source));
-            // if the subtitle track can be forced, add its source name to the array
-            if (hb_subtitle_can_force(source) && name.length)
-            {
-                [forcedSourceNamesArray addObject:name];
-            }
-        }
 
         // now set the name of the Foreign Audio Search track
-        NSMutableString *foreignAudioSearchTrackName = [@"Foreign Audio Search (Bitmap)" mutableCopy];
-        if (forcedSourceNamesArray.count)
-        {
-            [foreignAudioSearchTrackName appendFormat:@" ("];
-            for (NSString *name in forcedSourceNamesArray)
-            {
-                [foreignAudioSearchTrackName appendFormat:@"%@, ", name];
-            }
-            [foreignAudioSearchTrackName deleteCharactersInRange:NSMakeRange(foreignAudioSearchTrackName.length - 2, 2)];
-            [foreignAudioSearchTrackName appendFormat:@")"];
-        }
+        NSMutableString *foreignAudioSearchTrackName = [@"Foreign Audio Search" mutableCopy];
 
         // Add the none and foreign track to the source array
         NSDictionary *none = @{  keySubTrackName: NSLocalizedString(@"None", nil)};
index b07e7f270b32350f8138ffbf91bb208e0c3d2449..25e3e8002b6ea6e3f05b236db180c7106d8313b5 100644 (file)
@@ -218,12 +218,10 @@ extern NSString *keySubTrackType;
             NSString *bitmapOrText  = subtitle->format == PICTURESUB ? @"Bitmap" : @"Text";
             NSString *subSourceName = @(hb_subsource_name(subtitle->source));
 
-            // Use the native language name if available
-            iso639_lang_t *language = lang_for_code2(subtitle->iso639_2);
-            NSString *nativeLanguage = strlen(language->native_name) ? @(language->native_name) : @(language->eng_name);
+            NSString *lang = @(subtitle->lang);
 
             /* create a dictionary of source subtitle information to store in our array */
-            [tracks addObject:@{keySubTrackName: [NSString stringWithFormat:@"%d: %@ (%@) (%@)", i, nativeLanguage, bitmapOrText, subSourceName],
+            [tracks addObject:@{keySubTrackName: [NSString stringWithFormat:@"%d: %@", i, lang],
                                               keySubTrackType: @(subtitle->source),
                                               keySubTrackLanguageIsoCode: @(subtitle->iso639_2)}];
         }
index 7e40641c1b3129d86eac4c7f706b142cb4f56788..79995cbfe5fb7ad10083ba30629937b800a9e595 100644 (file)
@@ -655,11 +655,7 @@ static void PrintTitleInfo( hb_title_t * title, int feature )
     {
         hb_subtitle_t *subtitle;
         subtitle = hb_list_item( title->list_subtitle, i );
-        fprintf( stderr, "    + %d, %s (iso639-2: %s) (%s)(%s)\n",
-                 i + 1, subtitle->lang,
-                 subtitle->iso639_2,
-                 (subtitle->format == TEXTSUB) ? "Text" : "Bitmap",
-                 hb_subsource_name(subtitle->source));
+        fprintf(stderr, "    + %d, %s\n", i + 1, subtitle->lang);
     }
 
     if(title->detected_interlacing)
index 3cca29ab71f4899b937c875ce634a16d1a1b3b60..eb983dec4c7db30127410938c01947ddeea42361 100644 (file)
@@ -134,7 +134,7 @@ namespace HandBrakeWPF.Services.Scan.Model
         /// <returns>A string formatted as: {track #} {language}</returns>
         public override string ToString()
         {
-            return this.SubtitleType == SubtitleType.ForeignAudioSearch ? "Foreign Audio Scan" : string.Format("{0} {1} ({2})", this.TrackNumber, this.Language, this.TypeString);
+            return this.SubtitleType == SubtitleType.ForeignAudioSearch ? "Foreign Audio Scan" : string.Format("{0} {1}", this.TrackNumber, this.Language);
         }
 
         /// <summary>
@@ -205,4 +205,4 @@ namespace HandBrakeWPF.Services.Scan.Model
             }
         }
     }
-}
\ No newline at end of file
+}
index d38883b44e1370c9f662e5f1cce0227b937a2c1a..9e002ae365f614d7ca43af43ba135d79941f835c 100644 (file)
@@ -63,7 +63,7 @@ namespace HandBrakeWPF.ViewModels
             this.Langauges = LanguageUtilities.MapLanguages().Keys;\r
             this.CharacterCodes = CharCodesUtilities.GetCharacterCodes();\r
 \r
-            this.ForeignAudioSearchTrack = new Subtitle { SubtitleType = SubtitleType.ForeignAudioSearch, Language = "Foreign Audio Search (Bitmap)" };\r
+            this.ForeignAudioSearchTrack = new Subtitle { SubtitleType = SubtitleType.ForeignAudioSearch, Language = "Foreign Audio Search" };\r
             this.SourceTracks = new List<Subtitle> { this.ForeignAudioSearchTrack };\r
         }\r
 \r
@@ -623,4 +623,4 @@ namespace HandBrakeWPF.ViewModels
 \r
         #endregion\r
     }\r
-}
\ No newline at end of file
+}\r