mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
build: fix for GStreamer 0.10.
This commit is contained in:
parent
65f897df6a
commit
700fd242cc
2 changed files with 10 additions and 0 deletions
|
@ -254,6 +254,14 @@ if test "$USE_GST_API_1_2p" = "yes"; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST([GST_PKG_VERSION])
|
AC_SUBST([GST_PKG_VERSION])
|
||||||
|
|
||||||
|
dnl Validate certain features
|
||||||
|
if test "$USE_GST_API_0_10" = "yes"; then
|
||||||
|
if test "$enable_builtin_videoparsers" = "yes"; then
|
||||||
|
AC_MSG_WARN([disabled built-in videoparsers (unsupported)])
|
||||||
|
enable_builtin_videoparsers="no"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
dnl GStreamer Core
|
dnl GStreamer Core
|
||||||
PKG_CHECK_MODULES([GST],
|
PKG_CHECK_MODULES([GST],
|
||||||
[gstreamer-$GST_PKG_VERSION >= $GST_VERSION_REQUIRED])
|
[gstreamer-$GST_PKG_VERSION >= $GST_VERSION_REQUIRED])
|
||||||
|
|
|
@ -129,6 +129,7 @@ gst_vaapidecode_update_sink_caps(GstVaapiDecode *decode, GstCaps *caps)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if GST_CHECK_VERSION(1,1,0)
|
||||||
static void
|
static void
|
||||||
gst_vaapidecode_video_info_change_format(GstVideoInfo *info,
|
gst_vaapidecode_video_info_change_format(GstVideoInfo *info,
|
||||||
GstVideoFormat format, guint width, guint height)
|
GstVideoFormat format, guint width, guint height)
|
||||||
|
@ -145,6 +146,7 @@ gst_vaapidecode_video_info_change_format(GstVideoInfo *info,
|
||||||
info->fps_n = vi.fps_n;
|
info->fps_n = vi.fps_n;
|
||||||
info->fps_d = vi.fps_d;
|
info->fps_d = vi.fps_d;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_vaapidecode_update_src_caps(GstVaapiDecode *decode,
|
gst_vaapidecode_update_src_caps(GstVaapiDecode *decode,
|
||||||
|
|
Loading…
Reference in a new issue