1. 14 Aug, 2020 1 commit
  2. 10 Jun, 2020 1 commit
  3. 03 Jun, 2020 1 commit
  4. 31 May, 2020 1 commit
  5. 28 May, 2020 1 commit
    • Thibault Saunier's avatar
      validateflow: Add a way to configure when to generate expectations · b1cf1ffe
      Thibault Saunier authored
      By default, generate them whenever the file is missing but adding a way
      to override that with `validateflow,generate-expectations=true` to force
      regenerating them or setting `validateflow,generate-expectations=false`
      to disallow generating them (on CI servers for example)
      
      Also update the validateflow documentation to take that into account
      and remove references to pipeline.json file which is now gone!
      
      Part-of: <gstreamer/gst-devtools!200>
      b1cf1ffe
  6. 26 May, 2020 1 commit
  7. 06 May, 2020 1 commit
  8. 29 Apr, 2020 1 commit
  9. 27 Apr, 2020 1 commit
  10. 12 Mar, 2020 1 commit
  11. 13 Feb, 2020 2 commits
  12. 04 Feb, 2020 1 commit
    • Thibault Saunier's avatar
      validate:flow: Add a way to set the types of events to log/ignore · 5b82274f
      Thibault Saunier authored
      Added two properties to the plugin:
           * ignored-event-types: A list of event types to be ignored when logging events
           * logged-event-types: A list of event types to be logged when logging events
      
      This commits also moves the "ignored-event-fields" property to using a proper
      GstValueList for the list of event fields to be taken into account, instead
      of the home grown separated by comas list of string, making the API more
      uniform.
      
      This also adds a simple helper method: `gst_validate_utils_get_strv`
      5b82274f
  13. 25 Oct, 2019 1 commit
    • Alicia Boya García's avatar
      validateflow: Don't use colon in file names · deca1f9c
      Alicia Boya García authored
      The colon character commonly used to separate the element name and the
      pad name is reserved in Windows filesystems, so it's better to use
      something safer.
      
      This patch replaces it with '-'. Please update
      gst-integration-testsuites too where another commit has renamed all the
      files.
      deca1f9c
  14. 28 Aug, 2019 1 commit
    • Matthew Waters's avatar
      validate/flow: fix werror build with android clang · 993b7528
      Matthew Waters authored
      ../validate/plugins/flow/gstvalidateflow.c:75:3: error: redefinition of typedef 'ValidateFlowOverride' is a C11 feature [-Werror,-Wtypedef-redefinition]
      } ValidateFlowOverride;
        ^
      ../validate/plugins/flow/gstvalidateflow.h:31:23: note: previous definition is here
      G_DECLARE_FINAL_TYPE (ValidateFlowOverride, validate_flow_override,
                            ^
      993b7528
  15. 26 Aug, 2019 2 commits
    • Matthew Waters's avatar
      validate: fix -Werror=unused-function with clang · 9249f60b
      Matthew Waters authored
      [3623/4053] Compiling C object 'subprojects/gst-devtools/validate/plugins/flow/697521d@@gstvalidateflow@sha/gstvalidateflow.c.o'.
      ../subprojects/gst-devtools/validate/plugins/flow/gstvalidateflow.c:85:1: warning: unused function 'VALIDATE_IS_FLOW_OVERRIDE' [-Wunused-function]
      G_DECLARE_FINAL_TYPE (ValidateFlowOverride, validate_flow_override,
      ^
      /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>:129:1: note: expanded from here
      VALIDATE_IS_FLOW_OVERRIDE
      ^
      9249f60b
    • Matthew Waters's avatar
      validate: fix -Werror=format-nonliteral build with clang · cca6ae3f
      Matthew Waters authored
      [3470/4053] Compiling C object 'subprojects/gst-devtools/validate/gst/validate/28db7b6@@gstvalidatetracer@sha/gst-validate-reporter.c.o'.
      ../subprojects/gst-devtools/validate/gst/validate/gst-validate-reporter.c:186:31: warning: format string is not a string literal [-Wformat-nonliteral]
        message = g_strdup_vprintf (format, vacopy);
                                    ^~~~~~
      [3487/4053] Compiling C object 'subprojects/gst-devtools/validate/gst/validate/28db7b6@@gstvalidatetracer@sha/gst-validate-report.c.o'.
      ../subprojects/gst-devtools/validate/gst/validate/gst-validate-report.c:1007:34: warning: format string is not a string literal [-Wformat-nonliteral]
        tmp = gst_info_strdup_vprintf (format, args);
                                       ^~~~~~
      [76/151] Compiling C object 'subprojects/gst-devtools/validate/plugins/flow/697521d@@gstvalidateflow@sha/gstvalidateflow.c.o'.
      ../subprojects/gst-devtools/validate/plugins/flow/gstvalidateflow.c:125:65: warning: format string is not a string literal [-Wformat-nonliteral]
        if (!flow->error_writing_file && vfprintf (flow->output_file, format, ap) < 0) {
                                                                      ^~~~~~
      cca6ae3f
  16. 26 Jun, 2019 2 commits
  17. 15 Mar, 2019 1 commit
    • Alicia Boya García's avatar
      validateflow: Fail when a pad is not attached · e536b05e
      Alicia Boya García authored
      Previously validateflow tests did not fail when the pad was not
      attached.
      
      This was a limitation caused by how the Validate API worked. Before, the
      `notify::validate-runner` signal was not emitted until a monitor was
      attached to the override. This made impossible to listen for the
      runner's `stopping` signal.
      
      This patch fixes the problem by setting `validate-runner` for all
      existing overrides when the runner is initialized and adding checks in
      validateflow to error in the case no pad was attached.
      e536b05e
  18. 11 Mar, 2019 1 commit
  19. 06 Mar, 2019 1 commit
  20. 04 Mar, 2019 1 commit
  21. 18 Feb, 2019 1 commit
  22. 11 Feb, 2019 1 commit
  23. 07 Feb, 2019 1 commit
    • Alicia Boya García's avatar
      New validate plugin: validateflow · e96f2ca7
      Alicia Boya García authored
      validateflow can be used to check the buffers and events flowing through
      a custom pipeline match an expectation file. This can be used to test
      non-regular-playback use cases like demuxers handling adaptive streaming
      fragment pushing.
      
      This patch includes also new actions used for these cases:
      `appsrc-push`, `appsrc-eos` and `flush` (plus `checkpoint`, which is
      only available with validateflow).
      e96f2ca7