gst/modplug/gstmodplug.cc: Remove superfluous gst_caps_get_structure() call.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Remove superfluous gst_caps_get_structure() call.
This commit is contained in:
Tim-Philipp Müller 2007-02-06 16:00:37 +00:00
parent 0ef6b57d2f
commit 0492b93845
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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:

View 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);