~ubuntu-branches/ubuntu/saucy/gstreamer0.10/saucy

« back to all changes in this revision

Viewing changes to gst/gstinfo.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2011-12-11 18:52:12 UTC
  • mfrom: (32.1.14 experimental)
  • Revision ID: package-import@ubuntu.com-20111211185212-3k215ps4qtyz2qa5
Tags: 0.10.35.2-1
* New upstream pre-release:
  + debian/control.in:
    - Build-depend on GLib >= 2.24.
  + debian/patches/99_ltmain_as-needed.patch:
    - Refreshed to apply cleanly again.
  + debian/libgstreamer.symbols:
    - Update symbols file with new API.
* debian/rules:
  + Remove all dependency_libs from the .la files (Closes: #633319).
* debian/control.in:
  + Put GI package into section introspection.
* debian/compat,
  debian/control.in,
  debian/gir1.2-gstreamer.install,
  debian/libgstreamer-dev.install,
  debian/libgstreamer.install,
  debian/patches/79_multiarch-backwards-compat.patch,
  debian/patches/80_ia32-hack.patch,
  debian/rules:
  + Transition package to multi-arch (Closes: #647481).
    Patch taken from the Ubuntu package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
632
632
  if (*(GType *) ptr == GST_TYPE_STRUCTURE) {
633
633
    return gst_info_structure_to_string ((GstStructure *) ptr);
634
634
  }
 
635
  if (GST_IS_BUFFER (ptr)) {
 
636
    GstBuffer *buf = (GstBuffer *) ptr;
 
637
    gchar *caps, *ret;
 
638
 
 
639
    caps = gst_caps_to_string (GST_BUFFER_CAPS (buf));
 
640
    ret =
 
641
        g_strdup_printf ("%p, data %p, malloc %p, ts %" GST_TIME_FORMAT
 
642
        ", dur %" GST_TIME_FORMAT ", size %u, offset %" G_GUINT64_FORMAT
 
643
        ", offset_end %" G_GUINT64_FORMAT ", caps: %s", buf,
 
644
        GST_BUFFER_DATA (buf), GST_BUFFER_MALLOCDATA (buf),
 
645
        GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)),
 
646
        GST_TIME_ARGS (GST_BUFFER_DURATION (buf)), GST_BUFFER_SIZE (buf),
 
647
        GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf), caps);
 
648
 
 
649
    g_free (caps);
 
650
    return ret;
 
651
  }
635
652
#ifdef USE_POISONING
636
653
  if (*(guint32 *) ptr == 0xffffffff) {
637
654
    return g_strdup_printf ("<poisoned@%p>", ptr);
1480
1497
GstDebugLevel
1481
1498
gst_debug_category_get_threshold (GstDebugCategory * category)
1482
1499
{
1483
 
  return g_atomic_int_get (&category->threshold);
 
1500
  return (GstDebugLevel) g_atomic_int_get (&category->threshold);
1484
1501
}
1485
1502
 
1486
1503
/**