[vlc-devel] [vlc-commits] dxva2: don't define unused values

Jean-Baptiste Kempf jb at videolan.org
Mon Feb 6 19:48:38 CET 2012


On Mon, Feb 06, 2012 at 01:47:06PM -0500, Rafaël Carré wrote :
> Le 2012-02-06 02:25, Jean-Baptiste Kempf a écrit :
> > On Mon, Feb 06, 2012 at 07:08:25AM +0100, Rafaël Carré wrote :
> >> vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Feb  6 01:04:48 2012 -0500| [454ef7c42ffc7ad1626fa9d2acba7064ec76b466] | committer: Rafaël Carré
> >>
> >> dxva2: don't define unused values
> > 
> > Maybe it would be nice instead to display an appropriate message on
> > error path depending on the error code.
> 
> We already have an error message where those codes could be returned,
> and if they happen we are pretty doomed.
> 
> I think it would make more sense to display the raw error code for a
> start with %d or whatever is appropriate.

If they are documented, yes.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list