diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-11-22 13:25:16 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-11-22 13:25:16 +0100 |
commit | c8402639f60ce0feec31c31748d1162d40754012 (patch) | |
tree | 3b49b0bf2da059873f03f6c96197f4d444f37bae /device.c | |
parent | d8857154a1a193251705088d3a064f6ded5ad6ee (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |