Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv31035/src/export

Modified Files:
        ExportFFmpeg.cpp 
Log Message:
Changed the labels.
Fixed one mistype..er-r-r..miscopied name.

Index: ExportFFmpeg.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportFFmpeg.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ExportFFmpeg.cpp    11 Jul 2008 11:44:51 -0000      1.15
+++ ExportFFmpeg.cpp    11 Jul 2008 14:50:35 -0000      1.16
@@ -691,7 +691,7 @@
    mShownCodecNames = mCodecNames;
    mShownCodecLongNames = mCodecLongNames;
    mCodecList->Clear();
-   mCodecList->Append(mFormatNames);
+   mCodecList->Append(mCodecNames);
 }
 
 ///
@@ -705,7 +705,6 @@
    {
       return;
    }
-   mFormatName->SetLabel(wxString::Format(wxT("[%s] 
%s"),selfmt->c_str(),selfmtlong->c_str()));
 
    wxString *selcdc = NULL;
    wxString *selcdclong = NULL;
@@ -718,6 +717,8 @@
       mFormatName->SetLabel(wxString(wxT("Failed to guess format")));
       return;
    }
+   mFormatName->SetLabel(wxString::Format(wxT("%s"),selfmtlong->c_str()));
+
    const AVCodecTag **tags = fmt->codec_tag;
    int selcdcid = -1;
 
@@ -795,8 +796,6 @@
       return;
    }
 
-   mCodecName->SetLabel(wxString::Format(wxT("[%s] 
%s"),selcdc->c_str(),selcdclong->c_str()));
-
    wxString *selfmt = NULL;
    wxString *selfmtlong = NULL;
    FindSelectedFormat(&selfmt, &selfmtlong);
@@ -805,9 +804,10 @@
    if (cdc == NULL)
    {
       //This shouldn't really happen
-      mCodecName->SetLabel(wxString(wxT("Failed to guess format")));
+      mCodecName->SetLabel(wxString(wxT("Failed to find the codec")));
       return;
    }
+   mCodecName->SetLabel(wxString::Format(wxT("[%d] 
%s"),cdc->id,selcdclong->c_str()));
 
    if (selfmt != NULL)
    {


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to