mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 12:36:41 +08:00 
			
		
		
		
	avfilter/vf_stereo3d: fix interleave rows output
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		| @@ -496,14 +496,12 @@ static int config_output(AVFilterLink *outlink) | |||||||
|         s->out.row_step  = 2; |         s->out.row_step  = 2; | ||||||
|         s->out.height    = s->height * 2; |         s->out.height    = s->height * 2; | ||||||
|         s->out.off_rstep = 1; |         s->out.off_rstep = 1; | ||||||
|         s->in.off_rstep  = s->in.format != INTERLEAVE_ROWS_RL; |  | ||||||
|         break; |         break; | ||||||
|     case INTERLEAVE_ROWS_RL: |     case INTERLEAVE_ROWS_RL: | ||||||
|         s->in.row_step   = 1 + (s->in.format == INTERLEAVE_ROWS_LR); |         s->in.row_step   = 1 + (s->in.format == INTERLEAVE_ROWS_LR); | ||||||
|         s->out.row_step  = 2; |         s->out.row_step  = 2; | ||||||
|         s->out.height    = s->height * 2; |         s->out.height    = s->height * 2; | ||||||
|         s->out.off_lstep = 1; |         s->out.off_lstep = 1; | ||||||
|         s->in.off_lstep  = s->in.format != INTERLEAVE_ROWS_LR; |  | ||||||
|         break; |         break; | ||||||
|     case MONO_R: |     case MONO_R: | ||||||
|         s->in.off_left   = s->in.off_right; |         s->in.off_left   = s->in.off_right; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Paul B Mahol
					Paul B Mahol