mpeg2dec: bump libmpeg2 requirement to 0.5.1 and fix msvc build
authorTim-Philipp Müller <tim@centricular.com>
Fri, 15 Apr 2016 17:37:42 +0000 (18:37 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 15 Apr 2016 17:43:27 +0000 (18:43 +0100)
commitfd5a868c11b0dccada90901e290a13040f06caae
tree09ab0fa06377de9aa47393e08c7f0d4b7621dc38
parent6b707c91f10a6cb492a5962ef21d52e193af7d6a
mpeg2dec: bump libmpeg2 requirement to 0.5.1 and fix msvc build

libmpeg2 0.5.1 was released in mid-2008, let's bump the requirement
and get rid of version-dependent code paths. There's still
avdec_mpeg2video for those who are stuck on ancient distros which
we don't target any more.

Also fixes build with MSVC, which doesn't like #if #else #endif
inside macro arguments (like the GST_DEBUG_OBJECT in line 941).
configure.ac
ext/mpeg2dec/gstmpeg2dec.c