summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2003-01-04 16:57:31 +0000
committerWim Taymans <wim.taymans@gmail.com>2003-01-04 16:57:31 +0000
commite720f95202410cf707ccd8bb3d40dd874e116ddf (patch)
tree70333502e01d214054826723dc79483f54a91d78
parentd093fb3fa46346b4cdf455a16550ea84e6c48550 (diff)
downloadgstreamer-e720f95202410cf707ccd8bb3d40dd874e116ddf.tar.gz
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.
-rw-r--r--gst/gstindex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/gstindex.c b/gst/gstindex.c
index 04c09dbc7e..26c97676dd 100644
--- a/gst/gstindex.c
+++ b/gst/gstindex.c
@@ -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;
}