1. 12 Feb, 2020 1 commit
    • Thibault Saunier's avatar
      nle: Seek the whole stack on initialization · c63586e0
      Thibault Saunier authored
      Instead of seeking each nleobject separately to setup new stack, wait
      for the whole stack to preroll and then seek that newly setup stack,
      leading to the same code path and seek 'tweaking' as when processing
      a seek on the composition (without stack changes).
      
      This is mandatory to properly handle filter that tweak segments to handle
      time remapping for example.
      c63586e0
  2. 11 Feb, 2020 2 commits
  3. 07 Feb, 2020 1 commit
    • Thibault Saunier's avatar
      ges: Ignore deprecation of GParameter · 82159882
      Thibault Saunier authored
      GParameter is part of our API, and for GLib < 2.54 we do not even have
      a way around avoiding it (namely `g_object_new_with_properties`).
      
      We should stop using GParameter once we depend on GLib 2.54.
      
      Fixes #86
      82159882
  4. 18 Dec, 2019 1 commit
  5. 14 Dec, 2019 1 commit
    • Henry Wilkes's avatar
      ges-source-clip: fixed return of duration setter · 7b5f655c
      Henry Wilkes authored
      In general, brought the behaviour of the `start`, `duration` and
      `inpoint` setters in line with each other. In particular:
      1. fixed return value the GESSourceClip `duration` setter
      2. changed the GESClip `start` setter
      3. fixed the inpoint callback for GESContainer
      4. changed the type of `res` in GESTimelineElement to be gint to
         emphasise that the GES library is using the hack that a return of -1
         from klass->set_duration means no notify signal should be sent out.
      
      Also added a new test for clips to ensure that the setters work for
      clips within and outside of timelines, and that the `start`, `inpoint`
      and `duration` of a clip will match its children.
      7b5f655c
  6. 05 Dec, 2019 1 commit
  7. 20 Nov, 2019 3 commits
  8. 07 Nov, 2019 1 commit
  9. 24 Oct, 2019 4 commits
    • Niels De Graef's avatar
      Don't pass default GLib marshallers for signals · 35d140ad
      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.
      35d140ad
    • Henry Wilkes's avatar
      marker: add color meta · 44420b2e
      Henry Wilkes authored
      Support optionally coloring markers by reserving GES_META_MARKER_COLOR
      for an ARGB guint.
      44420b2e
    • Henry Wilkes's avatar
      meta-container: add register_static_meta · e53b3fad
      Henry Wilkes authored
      Allows us to register a static meta without having to set a value.
      e53b3fad
    • Henry Wilkes's avatar
      meta-container: move comment · a70d0198
      Henry Wilkes authored
      The comment that was above _register_meta is actually meant for
      _set_value.
      a70d0198
  10. 23 Oct, 2019 1 commit
  11. 22 Oct, 2019 6 commits
  12. 21 Oct, 2019 3 commits
  13. 17 Oct, 2019 1 commit
  14. 16 Oct, 2019 1 commit
    • Henry Wilkes's avatar
      marker-list: add prev position to ::marker-moved · cab4a52d
      Henry Wilkes authored
      Additionally give the previous marker position in the
      GESMarkerList::marker-moved signal, since a user may want to know
      where a move was from.
      
      Also, fixed the documentation for GESMarkerList::marker-added
      
      #78
      cab4a52d
  15. 13 Oct, 2019 1 commit
  16. 02 Oct, 2019 1 commit
  17. 01 Oct, 2019 1 commit
  18. 30 Sep, 2019 2 commits
  19. 23 Sep, 2019 1 commit
  20. 28 Aug, 2019 5 commits
    • Thibault Saunier's avatar
      tests: Fix transition project tests · d3e2cf55
      Thibault Saunier authored
      Basically the test project was plain broken as it had fully overlapping
      clips is prohibited since the timeline edition API was reimplemented.
      
      Fixes #62
      d3e2cf55
    • Thibault Saunier's avatar
      asset: Fix asset cache for CLips and TrackElement with same ID · 8477a323
      Thibault Saunier authored
      We clearly uniquely identify assets by both their IDs and their
      extractable type, and we should make sure that you can have a
      TrackElement and a Clip with the same ID.
      
      There is one exception in our implementation which is GESFormatter
      because we treat their subclasses as 1 type with different IDs.
      8477a323
    • Thibault Saunier's avatar
      dcae483b
    • Thibault Saunier's avatar
      ges: Add support for EffectClip assets · 99c44bdb
      Thibault Saunier authored
      99c44bdb
    • Matthew Waters's avatar
      build: also suppress unused-function warnings about g_autoptr · c2bba9e0
      Matthew Waters authored
      ../plugins/ges/gesdemux.c:50:1: error: unused function 'glib_autoptr_cleanup_GESDemux' [-Werror,-Wunused-function]
      G_DECLARE_FINAL_TYPE (GESDemux, ges_demux, GES, DEMUX, GESBaseBin);
      ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/gobject/gtype.h:1401:3: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
        ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/glib/gmacros.h:451:22: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
        static inline void _GLIB_AUTOPTR_FUNC_NAME(ModuleObjName) (ModuleObjName **_ptr) {                     \
                           ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/glib/gmacros.h:441:43: note: expanded from macro '_GLIB_AUTOPTR_FUNC_NAME'
      #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
                                                ^
      <scratch space>:81:1: note: expanded from here
      glib_autoptr_cleanup_GESDemux
      ^
      
      ../plugins/ges/gessrc.c:56:1: error: unused function 'glib_autoptr_cleanup_GESSrc' [-Werror,-Wunused-function]
      G_DECLARE_FINAL_TYPE (GESSrc, ges_src, GES, SRC, GESBaseBin);
      ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/gobject/gtype.h:1401:3: note: expanded from macro 'G_DECLARE_FINAL_TYPE'
        _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName)                                               \
        ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/glib/gmacros.h:451:22: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP'
        static inline void _GLIB_AUTOPTR_FUNC_NAME(ModuleObjName) (ModuleObjName **_ptr) {                     \
                           ^
      /home/matt/Projects/cerbero/build/dist/android_universal/x86_64/include/glib-2.0/glib/gmacros.h:441:43: note: expanded from macro '_GLIB_AUTOPTR_FUNC_NAME'
      #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
                                                ^
      <scratch space>:158:1: note: expanded from here
      glib_autoptr_cleanup_GESSrc
      ^
      c2bba9e0
  21. 27 Aug, 2019 2 commits
    • Thibault Saunier's avatar
      ges: fix G_DECLARE_FINAL_TYPE -Werror with clang · 82a970f4
      Thibault Saunier authored
      Also fix wrong casing the `G_DECLARE` for GESDemux.
      
      ../subprojects/gst-editing-services/plugins/ges/gessrc.c:56:1: warning: unused function 'GES_SRC' [-Wunused-function]
      G_DECLARE_FINAL_TYPE (GESSrc, ges_src, GES, SRC, GESBaseBin);
      ^
      /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>:39:1: note: expanded from here
      GES_SRC
      ^
      ../subprojects/gst-editing-services/plugins/ges/gessrc.c:56:1: warning: unused function 'GES_IS_SRC' [-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>:42:1: note: expanded from here
      GES_IS_SRC
      ^
      
      ../subprojects/gst-editing-services/plugins/ges/gesdemux.c:50:1: warning: unused function 'GES_Demux' [-Wunused-function]
      G_DECLARE_FINAL_TYPE (GESDemux, ges_demux, GES, Demux, GESBaseBin);
      ^
      /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>:72:1: note: expanded from here
      GES_Demux
      ^
      ../subprojects/gst-editing-services/plugins/ges/gesdemux.c:50:1: warning: unused function 'GES_IS_Demux' [-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>:75:1: note: expanded from here
      GES_IS_Demux
      ^
      82a970f4
    • Matthew Waters's avatar
      ges/timeline: remove unused function get_toplevel_container · 2e8528bb
      Matthew Waters authored
      Fixes -Werror build with clang:
      
      ../subprojects/gst-editing-services/ges/ges-timeline.c:695:1: warning: unused function 'get_toplevel_container' [-Wunused-function]
      get_toplevel_container (gpointer element)
      ^
      2e8528bb