From 02bee86397b611fb451176310818ed5ab40f6b84 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Mon, 14 Jul 2014 21:28:27 +0530 Subject: [PATCH] correct value for try_to_add_start_credits --- src/cc_encoders_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc_encoders_common.c b/src/cc_encoders_common.c index f196e90e..3169bbbc 100644 --- a/src/cc_encoders_common.c +++ b/src/cc_encoders_common.c @@ -330,17 +330,17 @@ int encode_sub(struct encoder_ctx *context, struct cc_subtitle *sub) { case CCX_OF_SRT: if (!startcredits_displayed && ccx_options.start_credits_text!=NULL) - try_to_add_start_credits(context, 0); + try_to_add_start_credits(context, data->start_time); wrote_something = write_cc_buffer_as_srt(data, context); break; case CCX_OF_SAMI: if (!startcredits_displayed && ccx_options.start_credits_text!=NULL) - try_to_add_start_credits(context, 0); + try_to_add_start_credits(context, data->start_time); wrote_something = write_cc_buffer_as_sami(data, context); break; case CCX_OF_SMPTETT: if (!startcredits_displayed && ccx_options.start_credits_text!=NULL) - try_to_add_start_credits(context, 0); + try_to_add_start_credits(context, data->start_time); wrote_something = write_cc_buffer_as_smptett(data, context); break; case CCX_OF_TRANSCRIPT: