summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+HBJobConversion.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-14 07:21:48 +0200
committerDamiano Galassi <[email protected]>2019-08-14 07:21:48 +0200
commit4a710ddbff7f89bf96a993b8125e9d4e8d4a9fdf (patch)
treef50554ff272a23afef63ef802652235666045f2f /macosx/HBJob+HBJobConversion.m
parentf733d04817f949554176aed401c505a950c054b9 (diff)
MacGui: fix an exception when reading an HBJob from disk; do not store previews image when scanning the title in the queue; set the log level immediately; improve progress info when the pass number is not set yet.
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r--macosx/HBJob+HBJobConversion.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m
index a58e1333b..8a7eb6c0a 100644
--- a/macosx/HBJob+HBJobConversion.m
+++ b/macosx/HBJob+HBJobConversion.m
@@ -260,7 +260,7 @@
hb_subtitle_config_t sub_config;
int type = subTrack.type;
- sub_config.name = NULL;
+ sub_config.name = subTrack.title.UTF8String;
sub_config.offset = subTrack.offset;
// we need to strncpy file name and codeset
@@ -289,6 +289,7 @@
if (subt != NULL)
{
hb_subtitle_config_t sub_config = subt->config;
+ sub_config.name = subTrack.title.UTF8String;
if (!subTrack.burnedIn && hb_subtitle_can_pass(subt->source, job->mux))
{
@@ -374,6 +375,7 @@
audio->out.bitrate = audioTrack.bitRate;
audio->out.samplerate = sampleRateToUse;
audio->out.dither_method = hb_audio_dither_get_default();
+ audio->out.name = audioTrack.title.UTF8String;
// output is not passthru so apply gain
if (!(audioTrack.encoder & HB_ACODEC_PASS_FLAG))