1. 30 Sep, 2019 6 commits
  2. 27 Sep, 2019 3 commits
  3. 25 Sep, 2019 1 commit
  4. 24 Sep, 2019 3 commits
  5. 23 Sep, 2019 1 commit
    • Matthew Waters's avatar
      build: fix debug output werror build with newer gcc · 8ce2460a
      Matthew Waters authored
      In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                       from ../gst-libs/gst/tag/tag.h:25,
                       from ../gst-libs/gst/tag/gsttageditingprivate.h:24,
                       from ../gst-libs/gst/tag/gsttageditingprivate.c:23:
      ../gst-libs/gst/tag/gsttageditingprivate.c: In function ‘__exif_tag_capturing_white_balance_to_exif_value’:
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
        645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        646 |         (GObject *) (object), __VA_ARGS__);    \
            |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
       1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
            |                           ^~~~~~~~~~~~~~~~~
      ../gst-libs/gst/tag/gsttageditingprivate.c:265:3: note: in expansion of macro ‘GST_WARNING’
        265 |   GST_WARNING ("Invalid white balance: %s", str);
            |   ^~~~~~~~~~~
      ../gst-libs/gst/tag/gsttageditingprivate.c:265:40: note: format string is defined here
        265 |   GST_WARNING ("Invalid white balance: %s", str);
            |                                        ^~
      
      In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                       from ../gst-libs/gst/tag/tag.h:25,
                       from ../gst-libs/gst/tag/gstxmptag.c:39:
      ../gst-libs/gst/tag/gstxmptag.c: In function ‘deserialize_exif_gps_direction’:
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
        645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        646 |         (GObject *) (object), __VA_ARGS__);    \
            |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
       1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
            |                           ^~~~~~~~~~~~~~~~~
      ../gst-libs/gst/tag/gstxmptag.c:818:5: note: in expansion of macro ‘GST_WARNING’
        818 |     GST_WARNING ("Missing %s tag", dirref_str);
            |     ^~~~~~~~~~~
      ../gst-libs/gst/tag/gstxmptag.c:818:27: note: format string is defined here
        818 |     GST_WARNING ("Missing %s tag", dirref_str);
            |                           ^~
      In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                       from ../gst-libs/gst/tag/tag.h:25,
                       from ../gst-libs/gst/tag/gstxmptag.c:39:
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
        645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        646 |         (GObject *) (object), __VA_ARGS__);    \
            |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
       1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
            |                           ^~~~~~~~~~~~~~~~~
      ../gst-libs/gst/tag/gstxmptag.c:814:5: note: in expansion of macro ‘GST_WARNING’
        814 |     GST_WARNING ("Missing %s tag", dir_str);
            |     ^~~~~~~~~~~
      ../gst-libs/gst/tag/gstxmptag.c:814:27: note: format string is defined here
        814 |     GST_WARNING ("Missing %s tag", dir_str);
            |                           ^~
      
      In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                       from ../gst-libs/gst/gl/gstgl_fwd.h:24,
                       from ../gst-libs/gst/gl/gl.h:24,
                       from ../gst-libs/gst/gl/gstglsl.c:25:
      ../gst-libs/gst/gl/gstglsl.c: In function ‘gst_glsl_version_profile_from_string’:
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
        645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        646 |         (GObject *) (object), __VA_ARGS__);    \
            |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
       1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
            |                           ^~~~~~~~~~~~~~~~~
      ../gst-libs/gst/gl/gstglsl.c:333:7: note: in expansion of macro ‘GST_WARNING’
        333 |       GST_WARNING ("Invalid preprocesser directive detected: %s", version_s);
            |       ^~~~~~~~~~~
      ../gst-libs/gst/gl/gstglsl.c:333:62: note: format string is defined here
        333 |       GST_WARNING ("Invalid preprocesser directive detected: %s", version_s);
            |                                                              ^~
      
      In function ‘print_stream_info’,
          inlined from ‘print_topology’ at ../tools/gst-discoverer.c:352:3:
      ../tools/gst-discoverer.c:316:3: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
        316 |   g_print ("%*s%s: %s\n", 2 * GPOINTER_TO_INT (depth), " ",
            |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        317 |       gst_discoverer_stream_info_get_stream_type_nick (info), desc);
            |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      8ce2460a
  6. 17 Sep, 2019 2 commits
  7. 16 Sep, 2019 1 commit
  8. 12 Sep, 2019 1 commit
  9. 08 Sep, 2019 1 commit
  10. 06 Sep, 2019 1 commit
  11. 05 Sep, 2019 2 commits
  12. 03 Sep, 2019 2 commits
  13. 30 Aug, 2019 4 commits
    • Thibault Saunier's avatar
      Pass the code through codespell · 909baa23
      Thibault Saunier authored
      909baa23
    • Matthew Waters's avatar
      oggdemux: fix werror build on macos · cbd41106
      Matthew Waters authored
      ../ext/ogg/gstoggdemux.c:1071:7: error: format specifies type 'long' but the argument has type 'ogg_int64_t' (aka 'long long') [-Werror,-Wformat]
            packet->granulepos);
            ^~~~~~~~~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:1062:96: note: expanded from macro 'GST_DEBUG_OBJECT'
      #define GST_DEBUG_OBJECT(obj,...)       GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_DEBUG,   obj,  __VA_ARGS__)
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:646:31: note: expanded from macro 'GST_CAT_LEVEL_LOG'
              (GObject *) (object), __VA_ARGS__);                             \
                                    ^~~~~~~~~~~
      ../ext/ogg/gstoggdemux.c:1312:15: error: format specifies type 'long' but the argument has type 'ogg_int64_t' (aka 'long long') [-Werror,-Wformat]
                    packet.granulepos);
                    ^~~~~~~~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:1060:98: note: expanded from macro 'GST_WARNING_OBJECT'
      #define GST_WARNING_OBJECT(obj,...)     GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, obj,  __VA_ARGS__)
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:646:31: note: expanded from macro 'GST_CAT_LEVEL_LOG'
              (GObject *) (object), __VA_ARGS__);                             \
                                    ^~~~~~~~~~~
      cbd41106
    • Matthew Waters's avatar
      gl: also build plugin with -fobjc-arc · 0973e1d0
      Matthew Waters authored
      Fixes macos werror build
      
      ../ext/gl/caopengllayersink.m:336:23: error: '__bridge_retained' casts have no effect when not using ARC [-Werror,-Warc-bridge-casts-disallowed-in-nonarc]
          ca_sink->layer = (__bridge_retained gpointer)layer;
                            ^~~~~~~~~~~~~~~~~~
      0973e1d0
    • Matthew Waters's avatar
      glwindow/cocoa: silence unused-variable warning · fc539f61
      Matthew Waters authored
      We are using ARC to cleanup after ourselves.
      
      ../gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m:159:20: error: unused variable 'queue' [-Werror,-Wunused-variable]
        dispatch_queue_t queue = (__bridge_transfer dispatch_queue_t) window->priv->gl_queue;
                         ^
      fc539f61
  14. 29 Aug, 2019 2 commits
  15. 28 Aug, 2019 3 commits
  16. 27 Aug, 2019 3 commits
    • Nirbheek Chauhan's avatar
      gstgl: Add a new window type for WinRT · 564ab303
      Nirbheek Chauhan authored
      This is needed for using GstGL with ANGLE as the GLES implementation
      in Universal Windows Platform apps that use the Windows Runtime
      (WinRT) instead of Win32, which is deprecated and not allowed in
      Windows Store apps.
      
      This has been tested with Servo on the Microsoft HoloLens 2, and seems
      to work quite well.
      564ab303
    • Mathieu Duponchelle's avatar
      97426fd5
    • Niels De Graef's avatar
      Don't pass default GLib marshallers for signals · 0314b482
      Niels De Graef authored
      By passing NULL to `g_signal_new` instead of a marshaller, GLib will
      actually internally optimize the signal (if the marshaller is available
      in GLib itself) by also setting the valist marshaller. This makes the
      signal emission a bit more performant than the regular marshalling,
      which still needs to box into `GValue` and call libffi in case of a
      generic marshaller.
      
      Note that for custom marshallers, one would use
      `g_signal_set_va_marshaller()` with the valist marshaller instead.
      0314b482
  17. 23 Aug, 2019 1 commit
  18. 21 Aug, 2019 3 commits