Merge commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688'
authorClément Bœsch <u@pkh.me>
Wed, 15 Mar 2017 21:17:29 +0000 (22:17 +0100)
committerClément Bœsch <u@pkh.me>
Wed, 15 Mar 2017 21:19:56 +0000 (22:19 +0100)
* commit '5ed4644d6de7f6112431dc2d9a5cfe9a0a75a688':
  x11grab: Rename internal component to "xcbgrab"

Merged-by: Clément Bœsch <u@pkh.me>
1  2 
configure
libavdevice/Makefile
libavdevice/alldevices.c
libavdevice/avdevice.h
libavdevice/xcbgrab.c

diff --cc configure
+++ b/configure
@@@ -3020,24 -2362,14 +3020,24 @@@ opengl_outdev_deps="opengl
  oss_indev_deps_any="soundcard_h sys_soundcard_h"
  oss_outdev_deps_any="soundcard_h sys_soundcard_h"
  pulse_indev_deps="libpulse"
 +pulse_outdev_deps="libpulse"
 +qtkit_indev_extralibs="-framework QTKit -framework Foundation -framework QuartzCore"
 +qtkit_indev_select="qtkit"
 +sdl2_outdev_deps="sdl2"
  sndio_indev_deps="sndio_h"
  sndio_outdev_deps="sndio_h"
 +v4l_indev_deps="linux_videodev_h"
  v4l2_indev_deps_any="linux_videodev2_h sys_videoio_h"
 +v4l2_outdev_deps_any="linux_videodev2_h sys_videoio_h"
  vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines"
  vfwcap_indev_extralibs="-lavicap32"
- x11grab_xcb_indev_deps="libxcb"
+ xcbgrab_indev_deps="libxcb"
 +xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
 +xv_outdev_extralibs="-lXv -lX11 -lXext"
  
  # protocols
 +async_protocol_deps="threads"
 +bluray_protocol_deps="libbluray"
  ffrtmpcrypt_protocol_deps="!librtmp_protocol"
  ffrtmpcrypt_protocol_deps_any="gcrypt gmp openssl"
  ffrtmpcrypt_protocol_select="tcp_protocol"
@@@ -12,43 -9,21 +12,43 @@@ OBJS    = alldevices.
  OBJS-$(HAVE_LIBC_MSVCRT)                 += file_open.o
  
  # input/output devices
 -OBJS-$(CONFIG_ALSA_INDEV)                += alsa_dec.o alsa.o
 +OBJS-$(CONFIG_ALSA_INDEV)                += alsa_dec.o alsa.o timefilter.o
  OBJS-$(CONFIG_ALSA_OUTDEV)               += alsa_enc.o alsa.o
 -OBJS-$(CONFIG_AVFOUNDATION_INDEV)        += avfoundation_dec.o
 +OBJS-$(CONFIG_AVFOUNDATION_INDEV)        += avfoundation.o
  OBJS-$(CONFIG_BKTR_INDEV)                += bktr.o
 +OBJS-$(CONFIG_CACA_OUTDEV)               += caca.o
 +OBJS-$(CONFIG_DECKLINK_OUTDEV)           += decklink_enc.o decklink_enc_c.o decklink_common.o
 +OBJS-$(CONFIG_DECKLINK_INDEV)            += decklink_dec.o decklink_dec_c.o decklink_common.o
 +OBJS-$(CONFIG_DSHOW_INDEV)               += dshow_crossbar.o dshow.o dshow_enummediatypes.o \
 +                                            dshow_enumpins.o dshow_filter.o \
 +                                            dshow_pin.o dshow_common.o
  OBJS-$(CONFIG_DV1394_INDEV)              += dv1394.o
 -OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev.o
 +OBJS-$(CONFIG_FBDEV_INDEV)               += fbdev_dec.o \
 +                                            fbdev_common.o
 +OBJS-$(CONFIG_FBDEV_OUTDEV)              += fbdev_enc.o \
 +                                            fbdev_common.o
 +OBJS-$(CONFIG_GDIGRAB_INDEV)             += gdigrab.o
 +OBJS-$(CONFIG_IEC61883_INDEV)            += iec61883.o
  OBJS-$(CONFIG_JACK_INDEV)                += jack.o timefilter.o
 +OBJS-$(CONFIG_LAVFI_INDEV)               += lavfi.o
 +OBJS-$(CONFIG_OPENAL_INDEV)              += openal-dec.o
 +OBJS-$(CONFIG_OPENGL_OUTDEV)             += opengl_enc.o
  OBJS-$(CONFIG_OSS_INDEV)                 += oss_dec.o oss.o
  OBJS-$(CONFIG_OSS_OUTDEV)                += oss_enc.o oss.o
 -OBJS-$(CONFIG_PULSE_INDEV)               += pulse.o
 +OBJS-$(CONFIG_PULSE_INDEV)               += pulse_audio_dec.o \
 +                                            pulse_audio_common.o timefilter.o
 +OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
 +                                            pulse_audio_common.o
 +OBJS-$(CONFIG_QTKIT_INDEV)               += qtkit.o
 +OBJS-$(CONFIG_SDL2_OUTDEV)               += sdl2.o
  OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_dec.o sndio.o
  OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_enc.o sndio.o
 -OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o
 +OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
 +OBJS-$(CONFIG_V4L2_OUTDEV)               += v4l2enc.o v4l2-common.o
 +OBJS-$(CONFIG_V4L_INDEV)                 += v4l.o
  OBJS-$(CONFIG_VFWCAP_INDEV)              += vfwcap.o
- OBJS-$(CONFIG_X11GRAB_XCB_INDEV)         += xcbgrab.o
+ OBJS-$(CONFIG_XCBGRAB_INDEV)             += xcbgrab.o
 +OBJS-$(CONFIG_XV_OUTDEV)                 += xv.o
  
  # external libraries
  OBJS-$(CONFIG_LIBCDIO_INDEV)             += libcdio.o
@@@ -44,27 -50,15 +44,27 @@@ static void register_all(void
      REGISTER_INOUTDEV(ALSA,             alsa);
      REGISTER_INDEV   (AVFOUNDATION,     avfoundation);
      REGISTER_INDEV   (BKTR,             bktr);
 +    REGISTER_OUTDEV  (CACA,             caca);
 +    REGISTER_INOUTDEV(DECKLINK,         decklink);
 +    REGISTER_INDEV   (DSHOW,            dshow);
      REGISTER_INDEV   (DV1394,           dv1394);
 -    REGISTER_INDEV   (FBDEV,            fbdev);
 +    REGISTER_INOUTDEV(FBDEV,            fbdev);
 +    REGISTER_INDEV   (GDIGRAB,          gdigrab);
 +    REGISTER_INDEV   (IEC61883,         iec61883);
      REGISTER_INDEV   (JACK,             jack);
 +    REGISTER_INDEV   (LAVFI,            lavfi);
 +    REGISTER_INDEV   (OPENAL,           openal);
 +    REGISTER_OUTDEV  (OPENGL,           opengl);
      REGISTER_INOUTDEV(OSS,              oss);
 -    REGISTER_INDEV   (PULSE,            pulse);
 +    REGISTER_INOUTDEV(PULSE,            pulse);
 +    REGISTER_INDEV   (QTKIT,            qtkit);
 +    REGISTER_OUTDEV  (SDL2,             sdl2);
      REGISTER_INOUTDEV(SNDIO,            sndio);
 -    REGISTER_INDEV   (V4L2,             v4l2);
 +    REGISTER_INOUTDEV(V4L2,             v4l2);
 +//    REGISTER_INDEV   (V4L,              v4l
      REGISTER_INDEV   (VFWCAP,           vfwcap);
-     REGISTER_INDEV   (X11GRAB_XCB,      x11grab_xcb);
+     REGISTER_INDEV   (XCBGRAB,          xcbgrab);
 +    REGISTER_OUTDEV  (XV,               xv);
  
      /* external libraries */
      REGISTER_INDEV   (LIBCDIO,          libcdio);
Simple merge
Simple merge