1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-25 01:37:21 +00:00

Merge svn changes up to r30557

This commit is contained in:
Uoti Urpala 2010-03-09 23:09:46 +02:00
commit 8365d174b6
4 changed files with 18 additions and 4 deletions

View File

@ -4135,6 +4135,7 @@ audiocodec msgsm
format 0x31
format 0x32
format 0x204D5347
format 0x1500
fourcc agsm
driver msgsm
@ -4454,6 +4455,7 @@ audiocodec fftruespeech
info "FFmpeg TrueSpeech"
status working
format 0x22
format 0x1501
driver ffmpeg
dll "truespeech"
@ -4464,6 +4466,20 @@ audiocodec truespeech
driver acm
dll "tssoft32.acm" ; need also tsd32.dll
audiocodec netspeakgsm
info "NetSpeak GSM"
status working
format 0x1500
driver acm
dll "nsgsm32.acm"
audiocodec netspeakts
info "NetSpeak TrueSpeech"
status working
format 0x1501
driver acm
dll "nstsp32.acm"
; rt32dcmp.dll needed too
audiocodec voxwarert24
info "VoxWare RT24 speech codec"

View File

@ -330,8 +330,6 @@ static int play(void* data,int len,int flags){
if(ao_data.format==AF_FORMAT_MPEG2)
send_mpeg_pes_packet (data, len, 0x1C0, ao_data.pts, 1, my_ao_write);
else {
int i;
unsigned short *s=data;
// if(len>2000) len=2000;
// printf("ao_mpegpes: len=%d \n",len);
send_mpeg_lpcm_packet(data, len, 0xA0, ao_data.pts, freq_id, my_ao_write);

View File

@ -45,7 +45,7 @@ LIBVD_EXTERN(theora)
static int control(sh_video_t *sh,int cmd,void* arg,...){
switch(cmd) {
case VDCTRL_QUERY_FORMAT:
if ((*((int*)arg)) == IMGFMT_YV12)
if (*(int*)arg == IMGFMT_YV12)
return CONTROL_TRUE;
return CONTROL_FALSE;
}

View File

@ -5,7 +5,7 @@
* Daniel Moreno <comac@comac.darktech.org> (saturation, R/G/B gamma support)
* Richard Felker (original MMX contrast/brightness code (vf_eq.c))
* Michael Niedermayer <michalni@gmx.at> (LUT16)
/*
*
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify