comparison libmpcodecs/ad_hwac3.c @ 15558:3aee7daaa8e5

Fix ADCTRL_SKIP_FRAME and add ADCTRL_RESYNC_STREAM
author hzoli
date Tue, 24 May 2005 06:39:01 +0000
parents 7d6cf88beb47
children 6ff3379a0862
comparison
equal deleted inserted replaced
15557:40d5e0ccce93 15558:3aee7daaa8e5
132 132
133 static int control(sh_audio_t *sh,int cmd,void* arg, ...) 133 static int control(sh_audio_t *sh,int cmd,void* arg, ...)
134 { 134 {
135 switch(cmd) 135 switch(cmd)
136 { 136 {
137 case ADCTRL_RESYNC_STREAM:
137 case ADCTRL_SKIP_FRAME: 138 case ADCTRL_SKIP_FRAME:
138 ac3dts_fillbuff(sh); break; // skip AC3 frame 139 ac3dts_fillbuff(sh);
139 return CONTROL_TRUE; 140 return CONTROL_TRUE;
140 } 141 }
141 return CONTROL_UNKNOWN; 142 return CONTROL_UNKNOWN;
142 } 143 }
143 144