ext/mpeg2enc/gstmpeg2encpicturereader.cc: Fix compilation with libmjpegtools 1.8.x.

Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
(GstMpeg2EncPictureReader.StreamPictureParams):
Fix compilation with libmjpegtools 1.8.x.
This commit is contained in:
Tim-Philipp Müller 2008-02-04 13:12:09 +00:00
parent aa4139370a
commit 8ab9eb5fa9
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-02-04 Tim-Philipp Müller <tim at centricular dot net>
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
(GstMpeg2EncPictureReader.StreamPictureParams):
Fix compilation with libmjpegtools 1.8.x.
2008-02-04 Sebastian Dröge <slomo@circular-chaos.org>
* ext/ladspa/gstsignalprocessor.c:

View file

@ -97,9 +97,15 @@ GstMpeg2EncPictureReader::StreamPictureParams (MPEG2EncInVidParams & strm)
strm.aspect_ratio_code = mpeg_guess_mpeg_aspect_code (2, par,
strm.horizontal_size, strm.vertical_size);
#ifdef GST_MJPEGTOOLS_19x
GST_DEBUG_OBJECT (element, "Guessing aspect ratio code for PAR %d/%d "
"MPEG version %d yielded: %d", par.n, par.d, mpeg_version,
strm.aspect_ratio_code);
#else
GST_DEBUG_OBJECT (element, "Guessing aspect ratio code for PAR %d/%d "
"yielded: %d", par.n, par.d, strm.aspect_ratio_code);
#endif
}
/*