Commit 1c6ac615 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Merge branch 'master' of git.videolan.org:vlc

parents c1cf203b a81518d6
...@@ -103,7 +103,7 @@ DISTCHECK_CONFIGURE_FLAGS = \ ...@@ -103,7 +103,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = \ AUTOMAKE_OPTIONS = \
1.9 \ 1.11 \
-Wall \ -Wall \
check-news \ check-news \
dist-bzip2 \ dist-bzip2 \
......
...@@ -14,7 +14,6 @@ CONFIGURE_LINE="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`" ...@@ -14,7 +14,6 @@ CONFIGURE_LINE="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`"
CODENAME="Twoflower" CODENAME="Twoflower"
COPYRIGHT_YEARS="1996-2010" COPYRIGHT_YEARS="1996-2010"
AC_PREREQ(2.59c)
AC_CONFIG_SRCDIR(src/libvlc.c) AC_CONFIG_SRCDIR(src/libvlc.c)
AC_CONFIG_AUX_DIR(autotools) AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_MACRO_DIR(m4)
...@@ -27,13 +26,7 @@ AM_INIT_AUTOMAKE(tar-ustar) ...@@ -27,13 +26,7 @@ AM_INIT_AUTOMAKE(tar-ustar)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
# Disable with "./configure --disable-silent-rules" or "make V=1" # Disable with "./configure --disable-silent-rules" or "make V=1"
m4_ifdef([AM_SILENT_RULES], [ AM_SILENT_RULES([yes])
AM_SILENT_RULES([yes])
], [
AM_DEFAULT_VERBOSITY=1
AC_SUBST(AM_DEFAULT_VERBOSITY)
])
dnl Too many people are not aware of maintainer mode: dnl Too many people are not aware of maintainer mode:
dnl If you want to use it, you definitely know what you are doing, so dnl If you want to use it, you definitely know what you are doing, so
...@@ -2633,8 +2626,7 @@ dnl avcodec decoder/encoder plugin ...@@ -2633,8 +2626,7 @@ dnl avcodec decoder/encoder plugin
dnl dnl
AC_ARG_ENABLE(avcodec, AC_ARG_ENABLE(avcodec,
[ --enable-avcodec libavcodec codec (default enabled)]) [ --enable-avcodec libavcodec codec (default enabled)])
if test "${enable_avcodec}" != "no" AS_IF([test "${enable_avcodec}" != "no"], [
then
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 52.25.0 libavutil], PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 52.25.0 libavutil],
[ [
VLC_SAVE_FLAGS VLC_SAVE_FLAGS
...@@ -2650,7 +2642,9 @@ then ...@@ -2650,7 +2642,9 @@ then
],[ ],[
AC_MSG_ERROR([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.]) AC_MSG_ERROR([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.])
]) ])
fi ], [
have_avcodec="no"
])
dnl dnl
dnl libva needs avcodec dnl libva needs avcodec
...@@ -2742,7 +2736,9 @@ dnl avformat demuxer/muxer plugin ...@@ -2742,7 +2736,9 @@ dnl avformat demuxer/muxer plugin
dnl dnl
AC_ARG_ENABLE(avformat, AC_ARG_ENABLE(avformat,
[ --enable-avformat libavformat containers (default enabled)]) [ --enable-avformat libavformat containers (default enabled)],, [
enable_avformat="${have_avcodec}"
])
if test "${enable_avformat}" != "no" if test "${enable_avformat}" != "no"
then then
PKG_CHECK_MODULES(AVFORMAT,[libavformat > 52.30.0 libavutil], PKG_CHECK_MODULES(AVFORMAT,[libavformat > 52.30.0 libavutil],
......
...@@ -43,6 +43,7 @@ typedef struct vout_window_sys_t vout_window_sys_t; ...@@ -43,6 +43,7 @@ typedef struct vout_window_sys_t vout_window_sys_t;
enum { enum {
VOUT_WINDOW_TYPE_XID, VOUT_WINDOW_TYPE_XID,
VOUT_WINDOW_TYPE_HWND, VOUT_WINDOW_TYPE_HWND,
VOUT_WINDOW_TYPE_NSOBJECT,
}; };
/** /**
...@@ -88,8 +89,9 @@ struct vout_window_t { ...@@ -88,8 +89,9 @@ struct vout_window_t {
* It must be filled in the open function. * It must be filled in the open function.
*/ */
union { union {
void *hwnd; /* Win32 window handle */ void *hwnd; /* Win32 window handle */
uint32_t xid; /* X11 windows ID */ uint32_t xid; /* X11 windows ID */
void *nsobject; /* Mac OSX view object */
} handle; } handle;
/* display server (mandatory) */ /* display server (mandatory) */
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include <glib.h> #include <glib.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
#include <glib-object.h> /* g_object_unref( ) */ #include <glib-object.h> /* g_object_unref( ) */
#include <librsvg-2/librsvg/rsvg.h> #include <librsvg/rsvg.h>
typedef struct svg_rendition_t svg_rendition_t; typedef struct svg_rendition_t svg_rendition_t;
......
...@@ -63,6 +63,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj, ...@@ -63,6 +63,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
type = "vout window hwnd"; type = "vout window hwnd";
window->handle.hwnd = NULL; window->handle.hwnd = NULL;
break; break;
#endif
#ifdef __APPLE__
case VOUT_WINDOW_TYPE_NSOBJECT:
type = "vout window nsobject";
window->handle.nsobject = NULL;
break;
#endif #endif
case VOUT_WINDOW_TYPE_XID: case VOUT_WINDOW_TYPE_XID:
type = "vout window xid"; type = "vout window xid";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment