$OpenBSD: patch-ext_mpeg2enc_gstmpeg2encoder_cc,v 1.1 2011/10/06 08:45:23 ajacoutot Exp $
--- ext/mpeg2enc/gstmpeg2encoder.cc.orig	Wed Oct  5 04:50:59 2011
+++ ext/mpeg2enc/gstmpeg2encoder.cc	Wed Oct  5 04:52:31 2011
@@ -26,7 +26,10 @@
 
 #include <mpegconsts.h>
 #include <quantize.hh>
-#if GST_MJPEGTOOLS_API >= 10900
+#if GST_MJPEGTOOLS_API >= 20000
+#include <ontheflyratectlpass1.hh>
+#include <ontheflyratectlpass2.hh>
+#elif GST_MJPEGTOOLS_API >= 10900
 #include <ontheflyratectl.hh>
 #include <pass1ratectl.hh>
 #include <pass2ratectl.hh>
