Commit 21e49315 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gst/modplug/gstmodplug.cc: Don't crash if a query comes in and we're not set...

gst/modplug/gstmodplug.cc: Don't crash if a query comes in and we're not set up yet (fixes #312121).

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/modplug/gstmodplug.cc:
Don't crash if a query comes in and we're not set
up yet (fixes #312121).
parent 6f358dcc
2005-07-31 Jonathan Matthew <jonathan at kaolin dot hn dot org>
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
* gst/modplug/gstmodplug.cc:
Don't crash if a query comes in and we're not set
up yet (fixes #312121).
2005-07-28 Tim-Philipp Müller <tim at centricular dot net>
* testsuite/gst-lint:
......
......@@ -333,6 +333,9 @@ gst_modplug_src_query (GstPad * pad, GstQueryType type,
modplug = GST_MODPLUG (gst_pad_get_parent (pad));
if (!modplug->mSoundFile)
return FALSE;
switch (type) {
case GST_QUERY_TOTAL:
switch (*format) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment