Original commit message from CVS:
* configure.ac:
scale requires -libs (video.h).
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
Don't crash if open failed.
+2005-06-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * configure.ac:
+ scale requires -libs (video.h).
+ * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
+ Don't crash if open failed.
+
2005-05-24 Luca Ognibene <luogni@tin.it>
* ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain):
dnl check for gstreamer; uninstalled is selected preferentially -- see pkg-config(1)
-PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
+PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ \
+ gstreamer-libs-$GST_MAJORMINOR,
HAVE_GST="yes", HAVE_GST="no")
if test "x$HAVE_GST" = "xno"; then
gst_ffmpeg_codectype_to_caps (oclass->in_plugin->type, ctx));
avcodec_close (ctx);
}
+ if (ctx->priv_data)
+ avcodec_close (ctx);
}
av_free (ctx);