mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed detecting broken video data streams when recording
This commit is contained in:
		
							
								
								
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							@@ -7870,7 +7870,7 @@ Video Disk Recorder Revision History
 | 
			
		||||
  and also to use the correct directory with --edit (the latter reported by Marko
 | 
			
		||||
  M<>kel<65>).
 | 
			
		||||
 | 
			
		||||
2014-02-18: Version 2.0.6
 | 
			
		||||
2014-02-21: Version 2.0.6
 | 
			
		||||
 | 
			
		||||
- Updated 'sources.conf' (thanks to Antti Hartikainen).
 | 
			
		||||
- cFont::CreateFont() now returns a dummy font in case there are no fonts installed.
 | 
			
		||||
@@ -7894,3 +7894,4 @@ Video Disk Recorder Revision History
 | 
			
		||||
- Fixed the replay progress display for very long recordings.
 | 
			
		||||
- Improved PAT/PMT scanning to speed up initial tuning to encrypted channels on
 | 
			
		||||
  transponders with many PAT entries (reported by Mariusz Bialonczyk).
 | 
			
		||||
- Fixed detecting broken video data streams when recording.
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: recorder.c 2.17.1.1 2013/10/12 12:10:05 kls Exp $
 | 
			
		||||
 * $Id: recorder.c 2.17.1.2 2014/02/21 09:21:30 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "recorder.h"
 | 
			
		||||
@@ -154,13 +154,13 @@ void cRecorder::Action(void)
 | 
			
		||||
                             recordFile->Write(pmt, TS_SIZE);
 | 
			
		||||
                             fileSize += TS_SIZE;
 | 
			
		||||
                             }
 | 
			
		||||
                       t.Set(MAXBROKENTIMEOUT);
 | 
			
		||||
                       }
 | 
			
		||||
                    if (recordFile->Write(b, Count) < 0) {
 | 
			
		||||
                       LOG_ERROR_STR(fileName->Name());
 | 
			
		||||
                       break;
 | 
			
		||||
                       }
 | 
			
		||||
                    fileSize += Count;
 | 
			
		||||
                    t.Set(MAXBROKENTIMEOUT);
 | 
			
		||||
                    }
 | 
			
		||||
                 }
 | 
			
		||||
              ringBuffer->Del(Count);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user