Skip to content

crashing with no debugging info #19

@jmej

Description

@jmej

I've tried to make a sketch that plays back movies using the following code but, but it causes the sketch to crash with no debugging info. I'm assuming this is something I'm doing wrong - but it seems like there should be an error...

`public class MovieMapper extends AbstractSketch {

public MovieMapper(final PApplet parent, final int width, final int height) {
    super(parent, width, height);
}

Movie movie;
@Override
public void draw() {
    graphics.image(movie, 0, 0, graphics.width, graphics.height);
}

@Override
public void keyEvent(KeyEvent event) {

}

@Override
public void mouseEvent(MouseEvent event) {

}

public void movieEvent(Movie m) {
  m.read();
}
@Override
public void setup() {
    // Load and play the video in a loop
    movie = new Movie(parent, "transit.mov");
    movie.loop();
  

}

}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions