From 5b791c2ce5b905e8a0521732dc9c08f85551520d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 27 Jan 2008 07:32:19 +0000 Subject: 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 * 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. --- ext/mpeg2enc/gstmpeg2encpicturereader.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mpeg2enc/gstmpeg2encpicturereader.hh') 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; -- cgit v1.2.1