mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Fix bug: Black screen is sometimes not shown.
This commit is contained in:
		
							
								
								
									
										4
									
								
								video.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								video.c
									
									
									
									
									
								
							@@ -4533,7 +4533,7 @@ static void VaapiSyncDecoder(VaapiDecoder * decoder)
 | 
			
		||||
		    "duping frame (%d/%d) %d v-buf\n"), decoder->FramesDuped,
 | 
			
		||||
		decoder->FrameCounter, VideoGetBuffers());
 | 
			
		||||
	    if (decoder->Closing < -300) {
 | 
			
		||||
		atomic_set(&decoder->SurfacesFilled, 1);
 | 
			
		||||
		atomic_set(&decoder->SurfacesFilled, 0);
 | 
			
		||||
	    }
 | 
			
		||||
	}
 | 
			
		||||
	goto out;
 | 
			
		||||
@@ -7868,7 +7868,7 @@ static void VdpauSyncDecoder(VdpauDecoder * decoder)
 | 
			
		||||
		    "duping frame (%d/%d) %d v-buf\n"), decoder->FramesDuped,
 | 
			
		||||
		decoder->FrameCounter, VideoGetBuffers());
 | 
			
		||||
	    if (decoder->Closing < -300) {
 | 
			
		||||
		atomic_set(&decoder->SurfacesFilled, 1);
 | 
			
		||||
		atomic_set(&decoder->SurfacesFilled, 0);
 | 
			
		||||
	    }
 | 
			
		||||
	}
 | 
			
		||||
	goto out;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user