From a358d1c13598835a6fe18cffe6701ce2edd39db0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 7 Nov 2004 17:16:31 +0000 Subject: [PATCH] gst/autoplug/gstspideridentity.c: Don't crash if that function is not implemented. Original commit message from CVS: * gst/autoplug/gstspideridentity.c: (gst_spider_identity_sink_loop_type_finding): Don't crash if that function is not implemented. --- ChangeLog | 6 ++++++ gst/autoplug/gstspideridentity.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bf073b4f1f..e7a6b3e2d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-11-07 Ronald S. Bultje + + * gst/autoplug/gstspideridentity.c: + (gst_spider_identity_sink_loop_type_finding): + Don't crash if that function is not implemented. + 2004-11-06 Ronald S. Bultje * docs/pwg/advanced-types.xml: diff --git a/gst/autoplug/gstspideridentity.c b/gst/autoplug/gstspideridentity.c index b493139a58..eed53526dd 100644 --- a/gst/autoplug/gstspideridentity.c +++ b/gst/autoplug/gstspideridentity.c @@ -537,6 +537,7 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity * ident) find.best_probability = 0; find.caps = NULL; gst_find.data = &find; + gst_find.get_length = NULL; gst_find.peek = spider_find_peek; gst_find.suggest = spider_find_suggest; while (walk) {