Update of /cvsroot/audacity/audacity-src/src/export
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30245/src/export

Modified Files:
        ExportFFmpeg.cpp 
Log Message:
Fix libav* metadata export (again!)

Index: ExportFFmpeg.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportFFmpeg.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- ExportFFmpeg.cpp    31 Aug 2009 21:38:29 -0000      1.63
+++ ExportFFmpeg.cpp    11 Nov 2009 05:40:54 -0000      1.64
@@ -313,15 +313,6 @@
    if (!InitCodecs(project))
       return false;
 
-   if (metadata == NULL) metadata = project->GetTags();
-
-   if (fmts[mSubFormat].canmetadata)
-   {
-      mSupportsUTF8 = fmts[mSubFormat].canutf8;
-      AddTags(metadata);
-   }
-
-
    // Write headers to the output file.
    if ((err = FFmpegLibsInst->av_write_header(mEncFormatCtx)) < 0)
    {
@@ -330,6 +321,14 @@
       return false;
    }
 
+   if (metadata == NULL) metadata = project->GetTags();
+
+   if (fmts[mSubFormat].canmetadata)
+   {
+      mSupportsUTF8 = fmts[mSubFormat].canutf8;
+      AddTags(metadata);
+   }
+
    return true;
 }
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to