@@ -116,7 +116,7 @@ static void mlp_ring_process_debug(ctx_dev *cam)
116116 }
117117
118118 mystrftime (cam, tmp, sizeof (tmp), " %H%M%S-%q" ,
119- &cam->imgs .image_ring [cam->imgs .ring_out ].imgts , NULL , 0 );
119+ &cam->imgs .image_ring [cam->imgs .ring_out ].imgts , NULL );
120120 draw_text (cam->imgs .image_ring [cam->imgs .ring_out ].image_norm ,
121121 cam->imgs .width , cam->imgs .height , 10 , 20 , tmp, cam->text_scale );
122122 draw_text (cam->imgs .image_ring [cam->imgs .ring_out ].image_norm ,
@@ -203,7 +203,7 @@ static void mlp_detected_trigger(ctx_dev *cam)
203203 mystrftime (cam, cam->text_event_string
204204 , sizeof (cam->text_event_string )
205205 , cam->conf ->text_event .c_str ()
206- , &cam->current_image ->imgts , NULL , 0 );
206+ , &cam->current_image ->imgts , NULL );
207207
208208 event (cam, EVENT_START);
209209 dbse_exec (cam, NULL , " event_start" );
@@ -878,7 +878,7 @@ static int mlp_capture(ctx_dev *cam)
878878
879879 memset (cam->current_image ->image_norm , 0x80 , cam->imgs .size_norm );
880880 mystrftime (cam, tmpout, sizeof (tmpout)
881- , tmpin, &cam->connectionlosttime , NULL , 0 );
881+ , tmpin, &cam->connectionlosttime , NULL );
882882 draw_text (cam->current_image ->image_norm , cam->imgs .width , cam->imgs .height ,
883883 10 , 20 * cam->text_scale , tmpout, cam->text_scale );
884884 cam->current_image ->imgts = cam->connectionlosttime ;
@@ -1012,15 +1012,15 @@ static void mlp_overlay(ctx_dev *cam)
10121012 /* Add text in lower left corner of the pictures */
10131013 if (cam->conf ->text_left != " " ) {
10141014 mystrftime (cam, tmp, sizeof (tmp), cam->conf ->text_left .c_str (),
1015- &cam->current_image ->imgts , NULL , 0 );
1015+ &cam->current_image ->imgts , NULL );
10161016 draw_text (cam->current_image ->image_norm , cam->imgs .width , cam->imgs .height ,
10171017 10 , cam->imgs .height - (10 * cam->text_scale ), tmp, cam->text_scale );
10181018 }
10191019
10201020 /* Add text in lower right corner of the pictures */
10211021 if (cam->conf ->text_right != " " ) {
10221022 mystrftime (cam, tmp, sizeof (tmp), cam->conf ->text_right .c_str (),
1023- &cam->current_image ->imgts , NULL , 0 );
1023+ &cam->current_image ->imgts , NULL );
10241024 draw_text (cam->current_image ->image_norm , cam->imgs .width , cam->imgs .height ,
10251025 cam->imgs .width - 10 , cam->imgs .height - (10 * cam->text_scale ),
10261026 tmp, cam->text_scale );
0 commit comments