1. 28 Aug, 2019 15 commits
    • Thibault Saunier's avatar
      Import GstTranscoder · 7a66b16d
      Thibault Saunier authored
      7a66b16d
    • Matthew Waters's avatar
    • Matthew Waters's avatar
      vulkan/build: conditionally depend on Vulkan-1.0.gir · 542af25e
      Matthew Waters authored
      Vulkan-1.0.gir is new in gobject-introspection >= 1.61.1
      542af25e
    • Matthew Waters's avatar
    • Matthew Waters's avatar
      vulkan/swapper: check queue present return later · 09883b6a
      Matthew Waters authored
      During resizes, the VkQueuePresent can return OUT_OF_DATE and if a buffer
      is displayed returning OUT_OF_DATE it would error out and stop the pipeline.
      
      We already have a explicit check for OUT_OF_DATE and the same general
      error check in the statements following so just use that code.
      09883b6a
    • Matthew Waters's avatar
      vulkan/swapper: destroy the surface in finalize · d1f8f743
      Matthew Waters authored
      Fixes a leak of the VkSurface object.
      d1f8f743
    • Matthew Waters's avatar
      vulkan/swapper: set some values to NULL in error conditions · cac14874
      Matthew Waters authored
      So that they are not double free()-ed.
      cac14874
    • Matthew Waters's avatar
      vulkancolorconvert: explicitly initalize swizzle arrays · d9248560
      Matthew Waters authored
      Fixes uninitialized access of the indexed values larger than
      the number of planes in the video format.
      d9248560
    • Matthew Waters's avatar
      vulkan/error: add the error value in hex and decimal · be9c9e44
      Matthew Waters authored
      Provides more information for what may be an 'Unknown' error.
      be9c9e44
    • Matthew Waters's avatar
      vulkanswapper: disconnect window signals before any internal resources · 5ab92e05
      Matthew Waters authored
      Otherwise, it's racy whether the necessary resources are available in
      the signal callbacks on destruction.
      5ab92e05
    • Haihao Xiang's avatar
      msdkvpp: don't return GST_FLOW_ERROR for MFX_WRN_INCOMPATIBLE_VIDEO_PARAM · ffa82e07
      Haihao Xiang authored
      Returning MFX_WRN_INCOMPATIBLE_VIDEO_PARAM means MSDK detects some
      incompatible parameters but it is resolved, and we may not regard
      MFX_WRN_INCOMPATIBLE_VIDEO_PARAM as a fatal error. In this fix,
      GST_FLOW_OK is returned but with a warning message so that a pipeline
      may run to the end.
      ffa82e07
    • Matthew Waters's avatar
      ahcsrc: #define GST_USE_UNSTABLE_API for phtography inteface · c941db0c
      Matthew Waters authored
      Fixes werror build:
      
      In file included from ../sys/androidmedia/gstahcsrc.c:70:
      ../gst-libs/gst/interfaces/photography.h:27:2: error: "The GstPhotography interface is unstable API and may change in future." [-Werror,-W#warnings]
      #warning "The GstPhotography interface is unstable API and may change in future."
       ^
      ../gst-libs/gst/interfaces/photography.h:28:2: error: "You can define GST_USE_UNSTABLE_API to avoid this warning."  [-Werror,-W#warnings]
      #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
       ^
      c941db0c
    • Matthew Waters's avatar
      mpeg2enc: fix werror build with clang · 278039be
      Matthew Waters authored
      /usr/include/mjpegtools/mpeg2enc/ontheflyratectlpass1.hh:1:9: error: '_ONTHEFLYRATECTLPASS1_HH' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
      #ifndef _ONTHEFLYRATECTLPASS1_HH
              ^~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/mjpegtools/mpeg2enc/ontheflyratectlpass1.hh:2:9: note: '_ONTHELFYRATECTLPASS1_HH' is defined here; did you mean '_ONTHEFLYRATECTLPASS1_HH'?
      #define _ONTHELFYRATECTLPASS1_HH
              ^~~~~~~~~~~~~~~~~~~~~~~~
              _ONTHEFLYRATECTLPASS1_HH
      In file included from ../subprojects/gst-plugins-bad/ext/mpeg2enc/gstmpeg2encoder.cc:31:
      /usr/include/mjpegtools/mpeg2enc/ontheflyratectlpass2.hh:1:9: error: '_ONTHEFLYRATECTLPASS2_HH' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard]
      #ifndef _ONTHEFLYRATECTLPASS2_HH
              ^~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/mjpegtools/mpeg2enc/ontheflyratectlpass2.hh:2:9: note: '_ONTHELFYRATECTLPASS2_HH' is defined here; did you mean '_ONTHEFLYRATECTLPASS2_HH'?
      #define _ONTHELFYRATECTLPASS2_HH
              ^~~~~~~~~~~~~~~~~~~~~~~~
              _ONTHEFLYRATECTLPASS2_HH
      
      /usr/include/mjpegtools/mpeg2enc/encoderparams.hh:82:1: error: struct 'RateCtl' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags]
      struct RateCtl;
      ^
      /usr/include/mjpegtools/mpeg2enc/ratectl.hh:50:7: note: previous use is here
      class RateCtl
            ^
      /usr/include/mjpegtools/mpeg2enc/encoderparams.hh:82:1: note: did you mean class here?
      struct RateCtl;
      ^~~~~~
      class
      278039be
    • Matthew Waters's avatar
      uvch264: fix werror build with clang · 6e9d0ac6
      Matthew Waters authored
      ../subprojects/gst-plugins-bad/sys/uvch264/gstuvch264deviceprovider.c:48:1: warning: unused function 'GST__UVC_H264_DEVICE' [-Wunused-function]
      G_DECLARE_FINAL_TYPE (GstUvcH264Device, gst_uvc_h264_device, GST_,
      ^
      /usr/include/glib-2.0/gobject/gtype.h:1405:33: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        static inline ModuleObjName * MODULE##_##OBJ_NAME (gpointer ptr) {                                     \
                                      ^
      <scratch space>:75:1: note: expanded from here
      GST__UVC_H264_DEVICE
      ^
      ../subprojects/gst-plugins-bad/sys/uvch264/gstuvch264deviceprovider.c:48:1: warning: unused function 'GST__IS_UVC_H264_DEVICE' [-Wunused-function]
      /usr/include/glib-2.0/gobject/gtype.h:1407:26: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        static inline gboolean MODULE##_IS_##OBJ_NAME (gpointer ptr) {                                         \
                               ^
      <scratch space>:78:1: note: expanded from here
      GST__IS_UVC_H264_DEVICE
      ^
      ../subprojects/gst-plugins-bad/sys/uvch264/gstuvch264deviceprovider.c:139:1: warning: unused function 'GST_UVC_H264_DEVICE_PROVIDER' [-Wunused-function]
      G_DECLARE_FINAL_TYPE (GstUvcH264DeviceProvider, gst_uvc_h264_device_provider, GST, UVC_H264_DEVICE_PROVIDER, GstDeviceProvider)
      ^
      /usr/include/glib-2.0/gobject/gtype.h:1405:33: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        static inline ModuleObjName * MODULE##_##OBJ_NAME (gpointer ptr) {                                     \
                                      ^
      <scratch space>:137:1: note: expanded from here
      GST_UVC_H264_DEVICE_PROVIDER
      ^
      ../subprojects/gst-plugins-bad/sys/uvch264/gstuvch264deviceprovider.c:139:1: warning: unused function 'GST_IS_UVC_H264_DEVICE_PROVIDER' [-Wunused-function]
      /usr/include/glib-2.0/gobject/gtype.h:1407:26: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        static inline gboolean MODULE##_IS_##OBJ_NAME (gpointer ptr) {                                         \
                               ^
      <scratch space>:140:1: note: expanded from here
      GST_IS_UVC_H264_DEVICE_PROVIDER
      ^
      6e9d0ac6
    • Matthew Waters's avatar
      av1enc: fix werror build with clang · 3cb01699
      Matthew Waters authored
      ../subprojects/gst-plugins-bad/ext/aom/gstav1enc.c:415:34: warning: implicit conversion from enumeration type 'GstAV1EncEndUsageMode' to different enumeration type 'enum aom_rc_mode' [-Wenum-conversion]
        av1enc->aom_cfg.rc_end_usage = DEFAULT_END_USAGE;
                                     ~ ^~~~~~~~~~~~~~~~~
      ../subprojects/gst-plugins-bad/ext/aom/gstav1enc.c:162:41: note: expanded from macro 'DEFAULT_END_USAGE'
      #define DEFAULT_END_USAGE               GST_AV1_ENC_END_USAGE_VBR
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
      3cb01699
  2. 27 Aug, 2019 8 commits
  3. 26 Aug, 2019 7 commits
  4. 25 Aug, 2019 1 commit
  5. 23 Aug, 2019 3 commits
  6. 22 Aug, 2019 6 commits