mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: always use built-in videoutils for GStreamer 0.10.
GStreamer 0.10.36 is the latest and ultimate version to be released from the GStreamer 0.10 branch. i.e. no further releases are to be made. So, we can safely enable the built-in videoutils replacement now that they are in sync with the 0.10 branch.
This commit is contained in:
parent
d3f671a54d
commit
f82deaf10c
2 changed files with 1 additions and 27 deletions
26
configure.ac
26
configure.ac
|
@ -324,32 +324,6 @@ if test "$ac_cv_have_gst_video_overlay_hwcaps" = "yes"; then
|
|||
[Defined to 1 if GstVideoOverlayComposition API supports HW hints.])
|
||||
fi
|
||||
|
||||
dnl ... GstVideoDecoder (gstreamer-video)
|
||||
AC_CACHE_CHECK([for GstVideoDecoder],
|
||||
ac_cv_have_gst_video_decoder, [
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $GST_CFLAGS $GST_VIDEO_CFLAGS"
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $GST_LIBS $GST_VIDEO_LIBS"
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[#include <gst/video/gstvideodecoder.h>]],
|
||||
[[GstVideoCodecFrame *f;
|
||||
GstVideoDecoder vdec;
|
||||
f = g_slice_new0(GstVideoCodecFrame);
|
||||
f->ref_count = 1;
|
||||
gst_video_decoder_have_frame(&vdec);
|
||||
gst_video_decoder_finish_frame(&vdec, f);
|
||||
gst_video_codec_frame_unref(f);]])],
|
||||
[ac_cv_have_gst_video_decoder="yes"],
|
||||
[ac_cv_have_gst_video_decoder="no"]
|
||||
)
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
LIBS="$saved_LIBS"
|
||||
])
|
||||
AM_CONDITIONAL([USE_LOCAL_GST_VIDEO_DECODER],
|
||||
[test "$ac_cv_have_gst_video_decoder" != "yes"])
|
||||
|
||||
dnl GStreamer -bad plugins (deprecated in GStreamer v1.2)
|
||||
if test "$USE_GST_API_1_2p" != "yes"; then
|
||||
PKG_CHECK_MODULES([GST_BASEVIDEO],
|
||||
|
|
|
@ -21,7 +21,7 @@ libgstvaapi_videoutils_libs = \
|
|||
gen_source_c =
|
||||
gen_source_h =
|
||||
|
||||
if USE_LOCAL_GST_VIDEO_DECODER
|
||||
if USE_GST_API_0_10
|
||||
gen_source_c += gstvideodecoder.c gstvideoutils.c video.c
|
||||
gen_source_h += gstvideodecoder.h gstvideoutils.h video.h
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue