sebastianmaqueda / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

IllegalArgumentException @ ICodec$ID #219

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Input:
==============
public static void main(String[] args) {
  for (ICodec c: ICodec.getInstalledCodecs())
    c.getID();
}

Output:
==============
Exception in thread "main" java.lang.IllegalArgumentException: No enum
class com.xuggle.xuggler.ICodec$ID with value 136
  at com.xuggle.xuggler.ICodec$ID.swigToEnum(ICodec.java:861)
  at com.xuggle.xuggler.ICodec.getID(ICodec.java:325)

Environment:
==============
Windows XP SP2
Java 1.5.0

Original issue reported on code.google.com by luzifer42 on 27 Oct 2009 at 2:51

GoogleCodeExporter commented 8 years ago
Fixed in r944 and r945 (will be in 3.4).

Also, best God damn bug report ever.  I wish everyone could make it this easy to
confirm (and hence makes it easier to fix).

Original comment by art.cla...@gmail.com on 27 Oct 2009 at 4:36

GoogleCodeExporter commented 8 years ago
Thx for the "best God damn bug report ever"-Award

Original comment by luzifer42 on 28 Oct 2009 at 9:37

GoogleCodeExporter commented 8 years ago
I am having the same problem when trying to build from source

No enum class com.xuggle.xuggler.ICodec$ID with value 154

How do we get the list of ENUMs from ffmpeg in order to update it when this 
happens? any chance for a quick tutorial letting us know where to find the 
necessary info?

Original comment by rm...@castlecomm.com on 10 Mar 2011 at 7:28