You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ffmpeg: Fix copying timebase to muxer context
Fixes Ticket3741 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							
								
								
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							| @@ -2880,7 +2880,7 @@ static int transcode_init(void) | ||||
|         ost->st->codec->codec= ost->enc_ctx->codec; | ||||
|  | ||||
|         // copy timebase while removing common factors | ||||
|         ost->st->time_base = av_add_q(ost->enc_ctx->time_base, (AVRational){0}); | ||||
|         ost->st->time_base = av_add_q(ost->enc_ctx->time_base, (AVRational){0, 1}); | ||||
|     } | ||||
|  | ||||
|     /* init input streams */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user