You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavfi/mp: try to pass interlaced & tff flags
This makes mp=softpulldown actually useful. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		| @@ -806,7 +806,12 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic) | ||||
|     memcpy(mpi->planes, inpic->data,     FFMIN(sizeof(inpic->data)    , sizeof(mpi->planes))); | ||||
|     memcpy(mpi->stride, inpic->linesize, FFMIN(sizeof(inpic->linesize), sizeof(mpi->stride))); | ||||
|  | ||||
|     //FIXME pass interleced & tff flags around | ||||
|     if (inpic->interlaced_frame) | ||||
|         mpi->fields |= MP_IMGFIELD_INTERLACED; | ||||
|     if (inpic->top_field_first) | ||||
|         mpi->fields |= MP_IMGFIELD_TOP_FIRST; | ||||
|     if (inpic->repeat_pict) | ||||
|         mpi->fields |= MP_IMGFIELD_REPEAT_FIRST; | ||||
|  | ||||
|     // mpi->flags|=MP_IMGFLAG_ALLOCATED; ? | ||||
|     mpi->flags |= MP_IMGFLAG_READABLE; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user