summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/modplug/gstmodplug.cc1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f4cc898..5e0f5622 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
+ * gst/modplug/gstmodplug.cc:
+ Remove superfluous gst_caps_get_structure() call.
+
+2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
+
* configure.ac:
Increase required libsndfile version to a version that's known to
have the function sf_write_sync() to make the build bots happy.
diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc
index a4ae1486..d6f985df 100644
--- a/gst/modplug/gstmodplug.cc
+++ b/gst/modplug/gstmodplug.cc
@@ -464,7 +464,6 @@ gst_modplug_load_song (GstModPlug * modplug)
/* negotiate srcpad caps */
othercaps = gst_pad_get_allowed_caps (modplug->srcpad);
- structure = gst_caps_get_structure (othercaps, 0);
newcaps = gst_caps_copy_nth (othercaps, 0);
gst_caps_unref (othercaps);
gst_pad_fixate_caps (modplug->srcpad, newcaps);