comparison mplayer.c @ 401:835fac6382be

DVD PCM audio support
author arpi_esp
date Sat, 14 Apr 2001 15:25:11 +0000
parents f5918fc8df10
children 0234b20ae147
comparison
equal deleted inserted replaced
400:ae91bfef2a94 401:835fac6382be
726 has_audio=0; 726 has_audio=0;
727 } else { 727 } else {
728 if(verbose) printf("detected MPG-PS audio format: %d\n",d_audio->type); 728 if(verbose) printf("detected MPG-PS audio format: %d\n",d_audio->type);
729 switch(d_audio->type){ 729 switch(d_audio->type){
730 case 1: sh_audio->format=0x50;break; // mpeg 730 case 1: sh_audio->format=0x50;break; // mpeg
731 case 2: sh_audio->format=0x2;break; // pcm 731 case 2: sh_audio->format=0x10001;break; // dvd pcm
732 case 3: sh_audio->format=0x2000;break; // ac3 732 case 3: sh_audio->format=0x2000;break; // ac3
733 default: has_audio=0; // unknown type 733 default: has_audio=0; // unknown type
734 } 734 }
735 } 735 }
736 break; 736 break;