1. 24 Sep, 2018 1 commit
    • Tim-Philipp Müller's avatar
      libs: figure out right export define in configure · 57c8e014
      Tim-Philipp Müller authored
      Add new GST_API_EXPORT in config.h and use that for GST_*_API
      decorators instead of GST_EXPORT.
      
      The right export define depends on the toolchain and whether
      we're using -fvisibility=hidden or not, so it's better to set it
      to the right thing directly than hard-coding a compiler whitelist
      in the public header.
      
      We put the export define into config.h instead of passing it via the
      command line to the compiler because it might contain spaces and brackets
      and in the autotools scenario we'd have to pass that through multiple
      layers of plumbing and Makefile/shell escaping and we're just not going
      to be *that* lucky.
      
      The export define is only used if we're compiling our lib, not by external
      users of the lib headers, so it's not a problem to put it into config.h
      
      Also, this means all .c files of libs need to include config.h
      to get the export marker defined, so fix up a few that didn't
      include config.h.
      
      This commit depends on a common submodule commit that makes gst-glib-gen.mak
      add an #include "config.h" to generated enum/marshal .c files for the
      autotools build.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=797185
      57c8e014
  2. 27 Jan, 2017 1 commit
  3. 13 Jun, 2015 1 commit
  4. 03 Nov, 2012 1 commit
  5. 11 Sep, 2012 1 commit
  6. 12 Aug, 2012 1 commit
  7. 06 Aug, 2012 1 commit
  8. 10 Jul, 2012 1 commit
  9. 06 Jul, 2012 1 commit
  10. 12 Apr, 2012 1 commit
  11. 03 Apr, 2012 1 commit
  12. 02 Mar, 2012 1 commit
  13. 01 Mar, 2012 1 commit
  14. 29 Feb, 2012 2 commits
  15. 08 Nov, 2011 1 commit
    • Wim Taymans's avatar
      pad: Add GstPadProbeInfo · ba3028ae
      Wim Taymans authored
      Make a new GstPadProbeInfo structure and pass this in the probe callback. This
      allows us to add more things later and also allow the callback to replace or
      modify the passed object.
      ba3028ae
  16. 07 Nov, 2011 1 commit
    • Wim Taymans's avatar
      pad: rework pad probes · 24e596a1
      Wim Taymans authored
      Make a separate cookie to detect chancges in the list of probes and keeping
      track of what hooks have been invoked yet.
      Remove the requirement to have probes on srcpads in push mode and sinkpads in
      pull mode.
      Add some more debug.
      Keep track of what callbacks got executed. If no callback is called and we are a
      blocking pad, let the item pass. This allows you to block pads on selected
      items only.
      Explicitly have an UPSTREAM and DOWNSTREAM PadProbeType. This allows you to only
      block the pad on upstream or downstream items.
      Add convenience macros to only block on downstream/upstream items.
      24e596a1
  17. 01 Nov, 2011 1 commit
    • Tim-Philipp Müller's avatar
      pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return} · bffc9207
      Tim-Philipp Müller authored
      Better now than later in the cycle. These might come in handy:
      
      sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g'   `git grep GstProbeReturn  | sed -e 's/:.*//' | sort -u`
      sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g'          `git grep GST_PROBE_      | sed -e 's/:.*//' | sort -u`
      sed -i -e 's/GstProbeType/GstPadProbeType/g'       `git grep GstProbeType    | sed -e 's/:.*//' | sort -u`
      bffc9207
  18. 28 Oct, 2011 1 commit
  19. 01 Jun, 2011 2 commits
  20. 16 May, 2011 1 commit
    • Wim Taymans's avatar
      Rework GstSegment handling · bdbc0693
      Wim Taymans authored
      Improve GstSegment, rename some fields. The idea is to have the GstSegment
      structure represent the timing structure of the buffers as they are generated by
      the source or demuxer element.
      gst_segment_set_seek() -> gst_segment_do_seek()
      Rename the NEWSEGMENT event to SEGMENT.
      Make parsing of the SEGMENT event into a GstSegment structure.
      Pass a GstSegment structure when making a new SEGMENT event. This allows us to
      pass the timing info directly to the next element. No accumulation is needed in
      the receiving element, all the info is inside the element.
      Remove gst_segment_set_newsegment(): This function as used to accumulate
      segments received from upstream, which is now not needed anymore because the
      segment event contains the complete timing information.
      bdbc0693
  21. 10 May, 2011 1 commit
    • Wim Taymans's avatar
      event: Hide the GstStructure · bd540bfb
      Wim Taymans authored
      Hide the GstStructure of the event in the implementation specific part so that
      we can change it.
      Add methods to check and make the event writable.
      Add a new method to get a writable GstStructure of the element.
      Avoid directly accising the event structure.
      bd540bfb
  22. 25 Jan, 2011 1 commit
  23. 08 Oct, 2009 1 commit
  24. 28 Jul, 2009 1 commit
  25. 20 Jul, 2009 1 commit