diff options
Diffstat (limited to 'gst/modplug')
-rw-r--r-- | gst/modplug/gstmodplug.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 6d4c4ab5..afdcf3ce 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -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) { |