Fixes setting output pts if video filters return multiple
frames in loop but in OutputFrame we don't need to duplicate. Then
we don't set output_pts correctly on following frames, only on first
one.
subpicture_Delete( p_subpic );
}
}
+
+ /* set output pts*/
+ p_pic->date = date_Get( &id->next_output_pts );
/*This pts is handled, increase clock to next one*/
date_Increment( &id->next_output_pts, id->p_encoder->fmt_in.video.i_frame_rate_base );
msg_Dbg( p_stream, "not dropping frame");
#endif
- /* input calculated pts isn't necessary what pts output should be, so use output pts*/
- p_pic->date = date_Get( &id->next_output_pts );
}
/* Run the filter and output chains; first with the picture,