mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
gst/debug/gsttaginject.c: Don't pass NULL taglists to gst_tag_list_is_empty().
Original commit message from CVS: * gst/debug/gsttaginject.c: (gst_tag_inject_start): Don't pass NULL taglists to gst_tag_list_is_empty().
This commit is contained in:
parent
20111b55b2
commit
54b1c496d6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-07-14 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst/debug/gsttaginject.c: (gst_tag_inject_start):
|
||||||
|
Don't pass NULL taglists to gst_tag_list_is_empty().
|
||||||
|
|
||||||
2008-07-14 Sebastian Dröge <slomo@circular-chaos.org>
|
2008-07-14 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* tests/check/elements/cmmldec.c: (GST_START_TEST):
|
* tests/check/elements/cmmldec.c: (GST_START_TEST):
|
||||||
|
|
|
@ -180,7 +180,7 @@ gst_tag_inject_start (GstBaseTransform * trans)
|
||||||
GstTagInject *self = GST_TAG_INJECT (trans);
|
GstTagInject *self = GST_TAG_INJECT (trans);
|
||||||
|
|
||||||
/* send tags */
|
/* send tags */
|
||||||
if (!gst_tag_list_is_empty (self->tags)) {
|
if (self->tags && !gst_tag_list_is_empty (self->tags)) {
|
||||||
gst_element_found_tags (GST_ELEMENT (trans),
|
gst_element_found_tags (GST_ELEMENT (trans),
|
||||||
gst_tag_list_copy (self->tags));
|
gst_tag_list_copy (self->tags));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue