diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-04-17 18:22:24 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-04-17 18:22:24 +0200 |
commit | 0ec452409f743d79aaf0c768edf912081c9c0b7e (patch) | |
tree | b736e543797939ad4dd9246dfb2009ba787772ba /tools | |
parent | c4f15da97fb6cb43f7e9844db454b39507a2555d (diff) |
discoverer: Fix another GstBuffer occurence to GstSample
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-discoverer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c index 7cdf2bf5f6..e1a4cd8c93 100644 --- a/tools/gst-discoverer.c +++ b/tools/gst-discoverer.c @@ -318,7 +318,7 @@ print_tag_each (GQuark field_id, const GValue * value, gpointer user_data) if (G_VALUE_HOLDS_STRING (value)) ser = g_value_dup_string (value); - else if (GST_VALUE_HOLDS_BUFFER (value)) { + else if (GST_VALUE_HOLDS_SAMPLE (value)) { GstSample *smpl = gst_value_get_sample (value); GstBuffer *buf = gst_sample_get_buffer (smpl); GstCaps *caps = gst_sample_get_caps (smpl); |