1. 06 Aug, 2010 3 commits
  2. 05 Aug, 2010 18 commits
  3. 04 Aug, 2010 3 commits
  4. 03 Aug, 2010 1 commit
    • Tim-Philipp Müller's avatar
      docs: fix build with gtk-doc from git · 31ec8282
      Tim-Philipp Müller authored
      For some reason the static inline function GST_CAT_LEVEL_LOG_valist is
      now picked up, which then breaks the build because it's not documented,
      so add it to the sections file.
      
      Based on patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com>.
      
      Fixes #625862.
      31ec8282
  5. 02 Aug, 2010 1 commit
  6. 29 Jul, 2010 1 commit
    • Mark Nauwelaerts's avatar
      queue2: download mode; prevent range corruption due to race · 2057cf6d
      Mark Nauwelaerts authored
      Current range was being updated in the thread performing seek, but as
      no locks were kept for a short section, data flow could resume before
      current range updated, so data for the new range would be accepted as
      from the previous range.
      
      Rather, range should be updated in serialized manner based on
      newsegment event.
      2057cf6d
  7. 27 Jul, 2010 3 commits
    • Rob Clark's avatar
      basetransform fix for upstream caps-renegotiation · 29289ee7
      Rob Clark authored
      If initially pass-through caps are negotiated between a transform element's
      sink and src pads, but then the downstream element returns different caps
      on a buffer from pad_alloc(), basetransform gets stuck with proxy_alloc=TRUE
      even though the upstream peer doesn't accept the caps, causing
      gst_pad_peer_accept_caps() to be called on each buffer in _buffer_alloc():
      
          if (!gst_caps_is_equal (newcaps, caps)) {
            GST_DEBUG_OBJECT (trans, "caps are new");
            /* we have new caps, see if we can proxy downstream */
      >>    if (gst_pad_peer_accept_caps (pad, newcaps)) {
              /* peer accepts the caps, return a buffer in this format */
              GST_DEBUG_OBJECT (trans, "peer accepted new caps");
      
      which is taking ~40ms/frame.
      
      This patch does two things.  (1) if the buffer returned from pad_alloc() has
      new caps, trigger the decision whether to proxy the buffer-alloc to be
      revisited, and (2) disable proxy if peer does not accept new caps.  (The first
      part may not be strictly needed, but seemed like a good idea.)
      
      Note that this issue would not arise except in case of downstream elements
      who have on their template-caps, some that would be suitable for pass-through,
      but at runtime pick more restrictive caps (for ex, after querying a driver for
      what formats it actually supports).
      29289ee7
    • Tim-Philipp Müller's avatar
      info: fix compilation on windows · 6f0da670
      Tim-Philipp Müller authored
      Fix mismatched brackets (#625295).
      6f0da670
    • Thiago Santos's avatar
      gstdatetime: Fix localtime usage · fda35f7a
      Thiago Santos authored
      localtime only takes one parameter and returns a statically
      allocated tm struct. Use it correctly.
      
      Fixes #625368
      fda35f7a
  8. 26 Jul, 2010 10 commits
    • Thiago Santos's avatar
      basetransform: Try suggesting caps on bad caps pad_alloc · 574e6ab4
      Thiago Santos authored
      When basetransform received an unsupported caps on pad_alloc
      it just returned not-negotiated. This patch makes it query
      the allowed caps between his sinkpad and upstream's srcpad
      to find a caps to suggest.
      
      This happens when dinamically switching pipeline elements
      and upstream pad_allocs with the previous caps that was
      being used.
      
      Fixes #614296
      574e6ab4
    • Tim-Philipp Müller's avatar
      info: flush again after every line of debug output · 4cecd73c
      Tim-Philipp Müller authored
      g_printerr() used to do this for us. Also use libc's fprintf() functions,
      to make sure the stderr pointer we use is actually compatible with the
      libc linked against by GStreamer (which apparently may not always be the
      same as what GLib is linked against on windows), and we don't need the
      functionality ensured by g_fprintf().
      
      Fixes #625295.
      4cecd73c
    • Tim-Philipp Müller's avatar
      po: update for new strings · 1f4ab206
      Tim-Philipp Müller authored
      1f4ab206
    • Thiago Santos's avatar
      gstvalue: Adds tests for datetime · d4077641
      Thiago Santos authored
      Adds tests for datetime fields in gstvalue tests
      
      Fixes #594504
      d4077641
    • Thiago Santos's avatar
      gststructure: Adds datetime getter function · f2c18c6c
      Thiago Santos authored
      Adds gst_structure_get_date_time function
      
      API: gst_structure_get_date_time
      
      Fixes #594504
      f2c18c6c
    • Thiago Santos's avatar
      tag: Adds GST_TAG_DATE_TIME tag · 137d19d6
      Thiago Santos authored
      Adds a new tag that represents a date and time a media was
      created
      
      API: GST_TAG_DATE_TIME
      
      Fixes #594504
      137d19d6
    • Thiago Santos's avatar
      taglist: Add datetime get functions · 3449bfc3
      Thiago Santos authored
      Adds _date_time_get and _date_time_get_index functions to
      taglist.
      
      API: gst_tag_list_get_date_time
      API: gst_tag_list_get_date_time_index
      
      Fixes #594504
      3449bfc3
    • Thiago Santos's avatar
      gstvalue: Adds datetime functions · b4870282
      Thiago Santos authored
      Adds a datetime functions to gstvalue
      
      Fixes #594504
      b4870282
    • Thiago Santos's avatar
      gstdatetime: Adds GstDateTime · 6425bde6
      Thiago Santos authored
      Adds GstDateTime to represent dates + time + timezone
      information.
      
      Tests included.
      
      API: GstDateTime
      API: gst_date_time_get_day
      API: gst_date_time_get_month
      API: gst_date_time_get_year
      API: gst_date_time_get_hour
      API: gst_date_time_get_microsecond
      API: gst_date_time_get_minute
      API: gst_date_time_get_second
      API: gst_date_time_get_time_zone_offset
      API: gst_date_time_new
      API: gst_date_time_new_local_time
      API: gst_date_time_new_from_unix_epoch
      API: gst_date_time_new_now_local_time
      API: gst_date_time_new_now_utc
      API: gst_date_time_ref
      API: gst_date_time_unref
      
      Fixes #594504
      6425bde6
    • Sebastian Dröge's avatar
      gst: Fix usage of glib_check_version() · c8b06272
      Sebastian Dröge authored
      It returns NULL if the installed GLib version is as least as
      new as the required version and some explanatory string otherwise.
      c8b06272