[Version] 0.1.13
[Profile] Common, Mobile, Wearable, TV
[Issue Type] Fix bugs
Change-Id: Ied7b7433f6fe875ab0ca3a250cf1301312b6f116
Name: capi-mediademuxer
Summary: A Media Demuxer library in Tizen Native API
-Version: 0.1.12
+Version: 0.1.13
Release: 1
Group: Multimedia/API
License: Apache-2.0
track *temp = NULL;
temp = *head;
while (temp) {
- /*
+
if (temp->pad) {
MD_I("unref GST_PAD %p\n", temp->pad);
gst_object_unref(temp->pad);
- } */
+ }
if (temp->caps) {
MD_I("unref GST_PAD caps %p\n", temp->caps);
gst_caps_unref(temp->caps);
} else {
MD_I("allocate memory %p", temp);
}
- temp->pad = pad;
+ memset(temp, 0x00, sizeof(track));
+
+ temp->pad = gst_object_ref(pad);
temp->caps = gst_caps_ref(caps);
temp->caps_string = gst_caps_to_string(caps);
temp->next = NULL;