summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-11-22 13:25:16 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-11-22 13:25:16 +0100
commitc8402639f60ce0feec31c31748d1162d40754012 (patch)
tree3b49b0bf2da059873f03f6c96197f4d444f37bae /device.c
parentd8857154a1a193251705088d3a064f6ded5ad6ee (diff)
downloadvdr-c8402639f60ce0feec31c31748d1162d40754012.tar.gz
vdr-c8402639f60ce0feec31c31748d1162d40754012.tar.bz2
Added the audio id to the call of PlayAudio() in cDevice::PlayTsAudio()
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 5b9b5141..3a60fe43 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.25 2009/08/16 10:54:36 kls Exp $
+ * $Id: device.c 2.26 2009/11/22 13:19:03 kls Exp $
*/
#include "device.h"
@@ -1309,7 +1309,7 @@ int cDevice::PlayTsAudio(const uchar *Data, int Length)
// Audio PES always has an explicit length and consists of single packets:
int l;
if (const uchar *p = tsToPesAudio.GetPes(l)) {
- int w = PlayAudio(p, l, 0);
+ int w = PlayAudio(p, l, p[3]);
if (w <= 0) {
tsToPesAudio.SetRepeatLast();
return w;