gst/modplug/gstmodplug.cc: Remove superfluous gst_caps_get_structure() call.
authorTim-Philipp Müller <tim@centricular.net>
Tue, 6 Feb 2007 16:00:37 +0000 (16:00 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 6 Feb 2007 16:00:37 +0000 (16:00 +0000)
Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Remove superfluous gst_caps_get_structure() call.

ChangeLog
gst/modplug/gstmodplug.cc

index 2f4cc89..5e0f562 100644 (file)
--- 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.
index a4ae148..d6f985d 100644 (file)
@@ -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);