summaryrefslogtreecommitdiffstats
path: root/ext/mpeg2enc/gstmpeg2encpicturereader.hh
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-01-27 07:32:19 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-01-27 07:32:19 +0000
commit5b791c2ce5b905e8a0521732dc9c08f85551520d (patch)
tree39d56595dfc1a6e419d75890d09455e6d62a817c /ext/mpeg2enc/gstmpeg2encpicturereader.hh
parent1a787a0cb2fb2afa3bd7aa21ffac1465130699c2 (diff)
downloadgst-plugins-bad-5b791c2ce5b905e8a0521732dc9c08f85551520d.tar.gz
gst-plugins-bad-5b791c2ce5b905e8a0521732dc9c08f85551520d.tar.bz2
gst-plugins-bad-5b791c2ce5b905e8a0521732dc9c08f85551520d.zip
Add support for building against mjpegtools 1.9 while keeping compatiblity with older versions.
Original commit message from CVS: Based on a patch by: Hans de Goede <j dot w dot r dot degoede at hhs dot nl> * configure.ac: * ext/mpeg2enc/gstmpeg2encoder.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.hh: Add support for building against mjpegtools 1.9 while keeping compatiblity with older versions.
Diffstat (limited to 'ext/mpeg2enc/gstmpeg2encpicturereader.hh')
-rw-r--r--ext/mpeg2enc/gstmpeg2encpicturereader.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mpeg2enc/gstmpeg2encpicturereader.hh b/ext/mpeg2enc/gstmpeg2encpicturereader.hh
index 7f6c9c3c..89fb58d8 100644
--- a/ext/mpeg2enc/gstmpeg2encpicturereader.hh
+++ b/ext/mpeg2enc/gstmpeg2encpicturereader.hh
@@ -37,7 +37,11 @@ public:
protected:
/* read a frame */
+#ifdef GST_MJPEGTOOLS_19x
+ bool LoadFrame (ImagePlanes &image);
+#else
bool LoadFrame ();
+#endif
private:
GstElement *element;