diff options
author | jstebbins <[email protected]> | 2013-06-11 20:38:27 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-06-11 20:38:27 +0000 |
commit | 8e8277e05d69226d96d75ba8667413559350c8c3 (patch) | |
tree | e2dfd5c8f27c60b0c3113dcb5f3429c7f4ca7a3d /gtk/src | |
parent | 268a50dbe56d66957bca717f8a3c1908ddea7f0a (diff) |
LinGui: fix propagation of tags from input file to output
... when batch queueing is used.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5574 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/callbacks.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index e6b4714cb..eead66275 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1600,6 +1600,35 @@ set_title_settings(GValue *settings, gint titleindex) ghb_set_scale_settings(settings, GHB_PIC_KEEP_PAR|GHB_PIC_USE_MAX); ghb_settings_set_int(settings, "angle_count", title->angle_count); + + ghb_settings_set_string(settings, "MetaName", title->name); + if (title->metadata) + { + if (title->metadata->name) + { + ghb_settings_set_string(settings, "MetaName", + title->metadata->name); + } + ghb_settings_set_string(settings, "MetaArtist", + title->metadata->artist); + ghb_settings_set_string(settings, "MetaReleaseDate", + title->metadata->release_date); + ghb_settings_set_string(settings, "MetaComment", + title->metadata->comment); + if (!title->metadata->name && title->metadata->album) + { + ghb_settings_set_string(settings, "MetaName", + title->metadata->album); + } + ghb_settings_set_string(settings, "MetaAlbumArtist", + title->metadata->album_artist); + ghb_settings_set_string(settings, "MetaGenre", + title->metadata->genre); + ghb_settings_set_string(settings, "MetaDescription", + title->metadata->description); + ghb_settings_set_string(settings, "MetaLongDescription", + title->metadata->long_description); + } } update_chapter_list_settings(settings); ghb_set_pref_audio_settings(titleindex, settings); |