mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
discoverer: Fix another GstBuffer occurence to GstSample
This commit is contained in:
parent
c4f15da97f
commit
0ec452409f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue