Mercurial > libdvdnav.hg
comparison dvdread/ifo_print.c @ 318:5bd3a5f9bdc5 src
various reports about audio stream (bits, quantization, etc) . ogle-1721
author | nicodvb |
---|---|
date | Sun, 30 Dec 2007 13:49:03 +0000 |
parents | 9aea3dbbfa91 |
children | 94604c5160a0 |
comparison
equal
deleted
inserted
replaced
317:049808d4a560 | 318:5bd3a5f9bdc5 |
---|---|
208 } | 208 } |
209 | 209 |
210 switch(attr->audio_format) { | 210 switch(attr->audio_format) { |
211 case 0: | 211 case 0: |
212 printf("ac3 "); | 212 printf("ac3 "); |
213 if(attr->quantization != 3) | |
214 printf("(please send a bug report) ac3 quant/drc not 3 (%d)", attr->quantization); | |
213 break; | 215 break; |
214 case 1: | 216 case 1: |
215 printf("(please send a bug report) "); | 217 printf("(please send a bug report) "); |
216 break; | 218 break; |
217 case 2: | 219 case 2: |
218 printf("mpeg1 "); | 220 printf("mpeg1 "); |
219 break; | |
220 case 3: | 221 case 3: |
221 printf("mpeg2ext "); | 222 printf("mpeg2ext "); |
223 switch(attr->quantization) { | |
224 case 0: | |
225 printf("no drc "); | |
226 break; | |
227 case 1: | |
228 printf("drc "); | |
229 break; | |
230 default: | |
231 printf("(please send a bug report) mpeg reserved quant/drc (%d)", attr->quantization); | |
232 } | |
222 break; | 233 break; |
223 case 4: | 234 case 4: |
224 printf("lpcm "); | 235 printf("lpcm "); |
236 switch(attr->quantization) { | |
237 case 0: | |
238 printf("16bit "); | |
239 break; | |
240 case 1: | |
241 printf("20bit "); | |
242 break; | |
243 case 2: | |
244 printf("24bit "); | |
245 break; | |
246 case 3: | |
247 printf("(please send a bug report) lpcm reserved quant/drc (%d)", attr->quantization); | |
248 break; | |
249 } | |
225 break; | 250 break; |
226 case 5: | 251 case 5: |
227 printf("(please send a bug report) "); | 252 printf("(please send a bug report) "); |
228 break; | 253 break; |
229 case 6: | 254 case 6: |
230 printf("dts "); | 255 printf("dts "); |
256 if(attr->quantization != 3) | |
257 printf("(please send a bug report) dts quant/drc not 3 (%d)", attr->quantization); | |
231 break; | 258 break; |
232 default: | 259 default: |
233 printf("(please send a bug report) "); | 260 printf("(please send a bug report) "); |
234 } | 261 } |
235 | 262 |