ext/ffmpeg/gstffmpegcolorspace.c: revert previous patch

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
revert previous patch
parent acdea61e
2004-04-30 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
revert previous patch
2004-04-29 Thomas Vander Stichele <thomas at apestaart dot org> 2004-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps): * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
......
...@@ -154,12 +154,7 @@ gst_ffmpegcsp_getcaps (GstPad * pad) ...@@ -154,12 +154,7 @@ gst_ffmpegcsp_getcaps (GstPad * pad)
otherpad = (pad == space->srcpad) ? space->sinkpad : space->srcpad; otherpad = (pad == space->srcpad) ? space->sinkpad : space->srcpad;
/* use already negotiated caps if they exist */ othercaps = gst_pad_get_allowed_caps (otherpad);
if (GST_PAD_CAPS (otherpad))
othercaps = gst_caps_copy (GST_PAD_CAPS (otherpad));
if (!othercaps)
othercaps = gst_pad_get_allowed_caps (otherpad);
othercaps = gst_ffmpegcsp_caps_remove_format_info (othercaps); othercaps = gst_ffmpegcsp_caps_remove_format_info (othercaps);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment