[vlc-devel] [vlc-commits] npapi: fix return value

Daniel Amm da2424 at t-online.de
Fri Dec 11 14:30:01 CET 2015


> On 12/11/2015 02:06 PM, Daniel Amm wrote:
> > npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Fri
Dec 11 13:59:39 2015 +0100| [e73852cae903560784c31ad280a54cf8a1a71a32] |
committer: Jean-Baptiste Kempf
> >
> > npapi: fix return value
> >
> > Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> >
> >>
https://code.videolan.org/videolan/npapi-vlc/commit/e73852cae903560784c31ad2
80a54cf8a1a71a32
> > ---
> >
> >   npapi/npruntime/npolibvlc.cpp | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/npapi/npruntime/npolibvlc.cpp
b/npapi/npruntime/npolibvlc.cpp
> > index b6c76e7..5a4a43b 100644
> > --- a/npapi/npruntime/npolibvlc.cpp
> > +++ b/npapi/npruntime/npolibvlc.cpp
> > @@ -481,7 +481,7 @@ LibvlcInputNPObject::getProperty(int index,
npapi::OutVariant& result)
> >                       if ( t.type() == VLC::MediaTrack::Type::Video )
> >                       {
> >                           result = (float)( (float)t.fpsNum() /
(float)t.fpsDen() );
> > -                        return INVOKERESULT_GENERIC_ERROR;
> > +                        return INVOKERESULT_NO_ERROR;
> >                       }
> >                   }
> >                   result = 0.0f;
> >
> > _______________________________________________
> > vlc-commits mailing list
> > vlc-commits at videolan.org
> > https://mailman.videolan.org/listinfo/vlc-commits
> >
>
> Doh.
> Thanks for noticing!
>
> Regards,

No problem ;)



More information about the vlc-devel mailing list