Make sure we call the app resolved before passing the final id/string to the index implemention.

Original commit message from CVS:
Make sure we call the app resolved before passing the final id/string
to the index implemention.
This commit is contained in:
Wim Taymans 2003-01-04 16:57:31 +00:00
parent d093fb3fa4
commit e720f95202

View file

@ -420,14 +420,14 @@ gst_index_get_writer_id (GstIndex *index, GstObject *writer, gint *id)
iclass = GST_INDEX_GET_CLASS (index);
if (iclass->resolve_writer) {
success = iclass->resolve_writer (index, writer, id, &writer_string);
}
if (index->resolver) {
success = index->resolver (index, writer, id, &writer_string, index->resolver_user_data);
}
if (iclass->resolve_writer) {
success = iclass->resolve_writer (index, writer, id, &writer_string);
}
return success;
}