src/OGVCore/Decoder.cpp
int Decoder::impl::queue_page(ogg_page *page) {
        if (theoraHeaders) ogg_stream_pagein(&theoraStreamState, page);
        if (vorbisHeaders) ogg_stream_pagein(&vorbisStreamState, page);
#ifdef OPUS
        if (opusHeaders) ogg_stream_pagein(&opusStreamState, page);
#endif
        if (skeletonHeaders) ogg_stream_pagein(&skeletonStreamState, page);
        return 0;
    }
/* helper: push a page into the appropriate steam */
/* this can be done blindly; a stream won't accept a page
                    that doesn't belong to it */
push a page into the appropriate steam
this can be done blindly; a stream won't accept a page
that doesn't belong to it
push a page into the appropriate steam this can be done blindly ; a stream won ' t accept a page that doesn ' t belong to it
int Decoder::impl::queue_page(ogg_page *page) {
        if (theoraHeaders) ogg_stream_pagein(&theoraStreamState, page);
        if (vorbisHeaders) ogg_stream_pagein(&vorbisStreamState, page);
#ifdef OPUS
        if (opusHeaders) ogg_stream_pagein(&opusStreamState, page);
#endif
        if (skeletonHeaders) ogg_stream_pagein(&skeletonStreamState, page);
        return 0;
    }
int Decoder :: impl :: queue_page ( ogg_page * page ) { if ( theoraHeaders ) ogg_stream_pagein ( & theoraStreamState , page ) ; if ( vorbisHeaders ) ogg_stream_pagein ( & vorbisStreamState , page ) ; #ifdef OPUS if ( opusHeaders ) ogg_stream_pagein ( & opusStreamState , page ) ; #endif if ( skeletonHeaders ) ogg_stream_pagein ( & skeletonStreamState , page ) ; return 0 ; }
helper: push a page into the appropriate steam
this can be done blindly; a stream won't accept a page
that doesn't belong to it
helper : push a page into the appropriate steam this can be done blindly ; a stream won ' t accept a page that doesn ' t belong to it