You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	dxva2_vc1: signal skipped p frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							c5562890c7
						
					
				
				
					commit
					3d8eeea620
				
			| @@ -168,7 +168,7 @@ static void fill_slice(AVCodecContext *avctx, DXVA_SliceInfo *slice, | ||||
|     slice->dwSliceDataLocation = position; | ||||
|     slice->bStartCodeBitOffset = 0; | ||||
|     slice->bReservedBits       = (s->pict_type == AV_PICTURE_TYPE_B && !v->bi_type) ? v->bfraction_lut_index + 9 : 0; | ||||
|     slice->wMBbitOffset        = get_bits_count(&s->gb); | ||||
|     slice->wMBbitOffset        = v->p_frame_skipped ? 0xffff : get_bits_count(&s->gb); | ||||
|     slice->wNumberMBsInSlice   = s->mb_width * s->mb_height; /* XXX We assume 1 slice */ | ||||
|     slice->wQuantizerScaleCode = v->pq; | ||||
|     slice->wBadSliceChopping   = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user