mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 12:36:41 +08:00 
			
		
		
		
	avfilter/vf_tpad: rescale EOF pts for case outlink time_base differs
This commit is contained in:
		| @@ -125,6 +125,7 @@ static int activate(AVFilterContext *ctx) | ||||
|  | ||||
|     if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) { | ||||
|         if (status == AVERROR_EOF) { | ||||
|             pts = av_rescale_q(pts, inlink->time_base, outlink->time_base); | ||||
|             if (!s->pad_stop) { | ||||
|                 ff_outlink_set_status(outlink, status, pts); | ||||
|                 return 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Paul B Mahol
					Paul B Mahol