diff --git a/src/classes/action/movie.vala b/src/classes/action/movie.vala index f6f01ff..9cf7c95 100644 --- a/src/classes/action/movie.vala +++ b/src/classes/action/movie.vala @@ -548,7 +548,7 @@ namespace pdfpc { */ public void on_prepare(Gst.Element overlay, Gst.Caps caps) { var info = new Gst.Video.Info(); - info.from_caps(caps); + Gst.Video.info_from_caps(out info, caps); this.video_w = info.width; this.video_h = info.height; this.scalex = (double) this.video_w/rect.width;