mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gst/gsttaglist.override: Return tag value if present more than once (instead of exactly once).
Original commit message from CVS: * gst/gsttaglist.override: (tag_foreach_func_list): Return tag value if present more than once (instead of exactly once). Fixes #337876
This commit is contained in:
parent
b07c954fb9
commit
e7c477c793
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-04-10 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gsttaglist.override: (tag_foreach_func_list):
|
||||
Return tag value if present more than once (instead of exactly once).
|
||||
Fixes #337876
|
||||
|
||||
2006-04-10 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* codegen/argtypes.py:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 1783855e983a5294434673694e8a57e44980b6f1
|
||||
Subproject commit a6710e67fd82147e32a18f1b63177583faffd498
|
|
@ -45,7 +45,7 @@ tag_foreach_func_list (const GstTagList *list,
|
|||
count = gst_tag_list_get_tag_size(GST_TAG_LIST(list), tag);
|
||||
if (count == 0)
|
||||
PyErr_SetString(PyExc_KeyError, tag);
|
||||
else if (count == 1)
|
||||
else if (count > 0)
|
||||
PyList_Append(py_list, PyString_FromString(tag));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue