Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vdr-plugin-vnsiserver: fix incorrect language on audio and subs

  • Loading branch information...
commit a69b94d2edc2247b62a3e68efbb05f3b2cdfc83c 1 parent 84b4d74
@FernetMenta FernetMenta authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver/demuxer.c
View
7 addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver/demuxer.c
@@ -484,6 +484,7 @@ bool cVNSIDemuxer::EnsureParsers()
void cVNSIDemuxer::SetChannelStreams(const cChannel *channel)
{
sStreamInfo newStream;
+ int index = 0;
if (channel->Vpid())
{
newStream.pID = channel->Vpid();
@@ -498,9 +499,9 @@ void cVNSIDemuxer::SetChannelStreams(const cChannel *channel)
}
const int *DPids = channel->Dpids();
+ index = 0;
for ( ; *DPids; DPids++)
{
- int index = 0;
if (!FindStream(*DPids))
{
newStream.pID = *DPids;
@@ -516,9 +517,9 @@ void cVNSIDemuxer::SetChannelStreams(const cChannel *channel)
}
const int *APids = channel->Apids();
+ index = 0;
for ( ; *APids; APids++)
{
- int index = 0;
if (!FindStream(*APids))
{
newStream.pID = *APids;
@@ -538,7 +539,7 @@ void cVNSIDemuxer::SetChannelStreams(const cChannel *channel)
const int *SPids = channel->Spids();
if (SPids)
{
- int index = 0;
+ index = 0;
for ( ; *SPids; SPids++)
{
if (!FindStream(*SPids))
Please sign in to comment.
Something went wrong with that request. Please try again.