mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Fix the fix, when sillpicture is called in suspend.
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
User johns
 | 
			
		||||
Date:
 | 
			
		||||
 | 
			
		||||
    Fix the fix, when sillpicture is called in suspend mode.
 | 
			
		||||
    Fix crash, when sillpicture is called in suspend mode.
 | 
			
		||||
    Add workaround for zero width+height and ffmpeg >= 1.2.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2580,7 +2580,7 @@ void StillPicture(const uint8_t * data, int size)
 | 
			
		||||
    int old_video_hardware_decoder;
 | 
			
		||||
 | 
			
		||||
    // might be called in Suspended Mode
 | 
			
		||||
    if (MyVideoStream->Decoder && MyVideoStream->SkipStream) {
 | 
			
		||||
    if (!MyVideoStream->Decoder || MyVideoStream->SkipStream) {
 | 
			
		||||
	return;
 | 
			
		||||
    }
 | 
			
		||||
    // must be a PES start code
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user