Commit cf4026c9 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

transcode: One more occurence of pf_encode_video() that needs a timer.

parent 98a39042
...@@ -2547,7 +2547,9 @@ static int transcode_video_process( sout_stream_t *p_stream, ...@@ -2547,7 +2547,9 @@ static int transcode_video_process( sout_stream_t *p_stream,
{ {
block_t *p_block; block_t *p_block;
p_pic->date = i_pts; p_pic->date = i_pts;
video_timer_start( id->p_encoder );
p_block = id->p_encoder->pf_encode_video(id->p_encoder, p_pic); p_block = id->p_encoder->pf_encode_video(id->p_encoder, p_pic);
video_timer_stop( id->p_encoder );
block_ChainAppend( out, p_block ); block_ChainAppend( out, p_block );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment