configure.ac: Use pkg-config to locate check. Bump core requirement.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check. Bump core requirement.
* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
Replace deprecated method.
This commit is contained in:
Stefan Kost 2007-07-12 11:13:13 +00:00
parent 5f02c0eb85
commit 2897413b57
4 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,13 @@
2007-07-12 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
Use pkg-config to locate check. Bump core requirement.
* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
Replace deprecated method.
2007-07-05 Jan Schmidt <thaytan@mad.scientist.com>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),

View file

@ -39,7 +39,7 @@ AC_SUBST(GST_MAJORMINOR)
AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
GST_REQ=0.10.4
GST_REQ=0.10.13
LIBOIL_MAJORMINOR=0.3
LIBOIL_REQ=0.3.6
@ -171,9 +171,10 @@ AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl FIXME: get rid of this by making sure gstreamer-check brings it in
dnl check for "check", unit testing library/header
AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
PKG_CHECK_MODULES(CHECK, check >= 0.9.2,
AM_CONDITIONAL(HAVE_CHECK, true),
AM_CONDITIONAL(HAVE_CHECK, false)
)
dnl Add MacOSX specific flags
AC_CANONICAL_HOST
case $host_os in

View file

@ -180,7 +180,7 @@ gst_ffmpegdeinterlace_chain (GstPad * pad, GstBuffer * inbuf)
avpicture_deinterlace (&deinterlace->to_frame, &deinterlace->from_frame,
deinterlace->pixfmt, deinterlace->width, deinterlace->height);
gst_buffer_stamp (outbuf, inbuf);
gst_buffer_copy_metadata (outbuf, inbuf, GST_BUFFER_COPY_TIMESTAMPS);
result = gst_pad_push (deinterlace->srcpad, outbuf);
}

View file

@ -347,7 +347,7 @@ gst_ffmpegscale_transform (GstBaseTransform * trans, GstBuffer * inbuf,
GstFFMpegScale *scale = GST_FFMPEGSCALE (trans);
AVPicture in_frame, out_frame;
gst_buffer_stamp (outbuf, inbuf);
gst_buffer_copy_metadata (outbuf, inbuf, GST_BUFFER_COPY_TIMESTAMPS);
gst_ffmpeg_avpicture_fill (&in_frame,
GST_BUFFER_DATA (inbuf),