mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
0ef6b57d2f
commit
0492b93845
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2007-02-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -464,7 +464,6 @@ gst_modplug_load_song (GstModPlug * modplug)
|
||||||
|
|
||||||
/* negotiate srcpad caps */
|
/* negotiate srcpad caps */
|
||||||
othercaps = gst_pad_get_allowed_caps (modplug->srcpad);
|
othercaps = gst_pad_get_allowed_caps (modplug->srcpad);
|
||||||
structure = gst_caps_get_structure (othercaps, 0);
|
|
||||||
newcaps = gst_caps_copy_nth (othercaps, 0);
|
newcaps = gst_caps_copy_nth (othercaps, 0);
|
||||||
gst_caps_unref (othercaps);
|
gst_caps_unref (othercaps);
|
||||||
gst_pad_fixate_caps (modplug->srcpad, newcaps);
|
gst_pad_fixate_caps (modplug->srcpad, newcaps);
|
||||||
|
|
Loading…
Reference in a new issue