Introduce metadata conversion table for NUT muxer and demuxer.
[ffmpeg.git] / libavformat / nut.c
index 6fdc298..be6bcf6 100644 (file)
@@ -79,3 +79,16 @@ const Dispositions ff_nut_dispositions[] = {
     {""            , 0}
 };
 
     {""            , 0}
 };
 
+const AVMetadataConv ff_nut_metadata_conv[] = {
+    { "Author",         "artist"      },
+    { "X-CreationTime", "date"        },
+    { "CreationTime",   "date"        },
+    { "SourceFilename", "filename"    },
+    { "X-Language",     "language"    },
+    { "X-Disposition",  "disposition" },
+    { "X-Replaces",     "replaces"    },
+    { "X-Depends",      "depends"     },
+    { "X-Uses",         "uses"        },
+    { "X-UsesFont",     "usesfont"    },
+    { 0 },
+};