mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
parent
1d7afbd0f2
commit
2aea9ad231
1 changed files with 4 additions and 2 deletions
|
@ -421,8 +421,8 @@ gst_mem_index_get_assoc_entry (GstIndex * index, gint id,
|
|||
}
|
||||
}
|
||||
|
||||
if (entry) {
|
||||
if ((GST_INDEX_ASSOC_FLAGS (entry) & flags) != flags) {
|
||||
if (entry && ((GST_INDEX_ASSOC_FLAGS (entry) & flags) != flags)) {
|
||||
if (method != GST_INDEX_LOOKUP_EXACT) {
|
||||
GList *l_entry = g_list_find (memindex->associations, entry);
|
||||
|
||||
entry = NULL;
|
||||
|
@ -439,6 +439,8 @@ gst_mem_index_get_assoc_entry (GstIndex * index, gint id,
|
|||
l_entry = g_list_previous (l_entry);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
entry = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue