From dfaff26c68032ba4837575ec48ea11ebf8f44b96 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 19 Aug 2008 20:14:06 +0000 Subject: Couple of fixes for the transcoder: - In dahdi_transcode.c, Embed the identifiation number, assigned sequentially when the transcoders are registered, in the transcoder structure. This allows DAHDI_TC_GETINFO to work as expected even though the transcoders are rotated on the list in order to spread the load. - In wctc4xxp, fix bug where all transcoders are named tc400b0. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4791 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index ec6a7a2..1b165f9 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -667,6 +667,7 @@ dahdi_tc_clear_data_waiting(struct dahdi_transcoder_channel *dtc) { struct dahdi_transcoder { struct list_head node; + int pos; char name[80]; int numchannels; unsigned int srcfmts; -- cgit v1.2.3