mpegtsenc: Lift limit on PMT PID
Fixes Ticket518
(cherry picked from commit bf5c3bac51)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							60171d8fa6
						
					
				
				
					commit
					b981c5d4e0
				
			@@ -84,7 +84,7 @@ static const AVOption options[] = {
 | 
			
		||||
    { "mpegts_service_id", "Set service_id field.",
 | 
			
		||||
      offsetof(MpegTSWrite, service_id), FF_OPT_TYPE_INT, {.dbl = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM},
 | 
			
		||||
    { "mpegts_pmt_start_pid", "Set the first pid of the PMT.",
 | 
			
		||||
      offsetof(MpegTSWrite, pmt_start_pid), FF_OPT_TYPE_INT, {.dbl = 0x1000 }, 0x1000, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM},
 | 
			
		||||
      offsetof(MpegTSWrite, pmt_start_pid), FF_OPT_TYPE_INT, {.dbl = 0x1000 }, 0x0010, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM},
 | 
			
		||||
    { "mpegts_start_pid", "Set the first pid.",
 | 
			
		||||
      offsetof(MpegTSWrite, start_pid), FF_OPT_TYPE_INT, {.dbl = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM},
 | 
			
		||||
    { NULL },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user