Logo Search packages:      
Sourcecode: vdr-plugin-dvd version File versions  Download package

int cDvdPlayer::SearchSubpStream ( int  SubpStreamId ) const [private]

!!! Save Bit7 for 'forced subs' !!!

Definition at line 2320 of file player-dvd.c.

                                                       {
    if (SubpStreamId != -1)
        SubpStreamId &= SubpStreamMask;
    int i = navSubpStreamSeen.Count() - 1;
    while ( i >= 0) {
        int streamId = ((IntegerListObject *)navSubpStreamSeen.Get(i))->getValue();
        if (streamId != -1)
            streamId &= SubpStreamMask;
        if (SubpStreamId == ((IntegerListObject *)navSubpStreamSeen.Get(i))->getValue())
            break; // found
        i--;
    }
    return i;
}

Generated by  Doxygen 1.6.0   Back to index