mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
Added HW scaling and YUV conversion for XFree 4.0
Original commit message from CVS: Added HW scaling and YUV conversion for XFree 4.0 Need to cleanup the fallback mechanism in case no suitable XvImage is found.
This commit is contained in:
parent
b6c740cc69
commit
37576c7dc9
3 changed files with 21 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
|||
/* Define if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define if the X Window System is missing or not being used. */
|
||||
#undef X_DISPLAY_MISSING
|
||||
|
||||
#undef PLUGINS_DIR
|
||||
#undef PLUGINS_SRCDIR
|
||||
#undef PLUGINS_USE_SRCDIR
|
||||
|
@ -20,6 +23,9 @@
|
|||
|
||||
#undef DEBUG_ENABLED
|
||||
|
||||
/* Define if you have the Xv library (-lXv). */
|
||||
#undef HAVE_LIBXV
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
|
|
13
configure.in
13
configure.in
|
@ -101,6 +101,19 @@ AC_CHECK_LIB(ghttp, ghttp_request_new,
|
|||
AC_SUBST(GHTTP_LIBS)
|
||||
AC_SUBST(GST_HTTPSRC_GET_TYPE)
|
||||
|
||||
dnl Check for X11 extensions
|
||||
AC_PATH_XTRA
|
||||
if test "-DX_DISPLAY_MISSING" = "$X_CFLAGS"; then
|
||||
AC_MSG_ERROR(can not find X11)
|
||||
fi
|
||||
AC_SUBST(X_CFLAGS)
|
||||
AC_SUBST(X_PRE_LIBS)
|
||||
AC_SUBST(X_EXTRA_LIBS)
|
||||
AC_SUBST(X_LIBS)
|
||||
|
||||
AC_CHECK_LIB(Xv, XvQueryExtension,,,
|
||||
$X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS)
|
||||
|
||||
dnl Check for atomic.h
|
||||
dnl Note: use AC_CHECK_HEADER not AC_CHECK_HEADERS, because the latter
|
||||
dnl defines the wrong default symbol as well (HAVE_ASM_ATOMIC_H)
|
||||
|
|
|
@ -20,6 +20,7 @@ CFLAGS += -O2 -Wall
|
|||
gstplay_CFLAGS = $(shell gnome-config --cflags gnomeui)
|
||||
gstplay_LDFLAGS = $(shell gnome-config --libs gnomeui)
|
||||
|
||||
LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la
|
||||
gstplay_LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la \
|
||||
$(top_builddir)/plugins/videosink/gdkxvimage.lo -lXv -lXxf86vm
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue