summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
index 0f9aa02fd..ba07dc5e5 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs
@@ -535,7 +535,19 @@ namespace HandBrakeWPF.Services.Encode.Factories
{
Metadata metaData = new Metadata();
- /* TODO NOT SUPPORTED YET. */
+ if (job.MetaData != null)
+ {
+ metaData.Artist = job.MetaData.Artist;
+ metaData.AlbumArtist = job.MetaData.AlbumArtist;
+ metaData.Comment = job.MetaData.Comment;
+ metaData.Composer = job.MetaData.Composer;
+ metaData.Description = job.MetaData.Description;
+ metaData.Genre = job.MetaData.Genre;
+ metaData.LongDescription = job.MetaData.LongDescription;
+ metaData.Name = job.MetaData.Name;
+ metaData.ReleaseDate = job.MetaData.ReleaseDate;
+ }
+
return metaData;
}
}