[Bug 710758] gst-launch: assert if we can't get gst sample

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 24 15:21:47 CEST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=710758
  GStreamer | gstreamer (core) | git

--- Comment #3 from Matthieu Bouron <matthieu.bouron at collabora.com> 2013-10-24 13:21:43 UTC ---
The warning is about str being used uninitialized if
gst_tag_list_get_sample_index returns false.
Well i guess the correct way to fix the problem is to initialize str at NULL,
output a warning if gst_tag_list_get_sample_index returns false and check str
before usage at the end of the function. Does it sounds good to you ?

Note: this can also be valid if gst_tag_list_get_string_index returns false.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list