gst/ffmpegcolorspace/gstffmpegcolorspace.c: remove broken nego fix

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
This commit is contained in:
Thomas Vander Stichele 2004-04-30 12:21:11 +00:00
parent 9215430bb6
commit 6e19650c97
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2004-04-30 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
2004-04-30 Benjamin Otte <otte@gnome.org>
* configure.ac:

View file

@ -151,11 +151,7 @@ gst_ffmpegcolorspace_getcaps (GstPad * pad)
otherpad = (pad == space->srcpad) ? space->sinkpad : space->srcpad;
/* use already negotiated caps if they exist */
if (GST_PAD_CAPS (otherpad))
othercaps = gst_caps_copy (GST_PAD_CAPS (otherpad));
if (!othercaps)
othercaps = gst_pad_get_allowed_caps (otherpad);
othercaps = gst_pad_get_allowed_caps (otherpad);
othercaps = gst_ffmpegcolorspace_caps_remove_format_info (othercaps);