From f612df4dfc05193aa0afacc833c277e881d1a3bb Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 13 Jan 2005 17:10:22 +0000 Subject: [PATCH] nego if not done yet Original commit message from CVS: nego if not done yet --- gst/ffmpegcolorspace/gstffmpegcolorspace.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/ffmpegcolorspace/gstffmpegcolorspace.c b/gst/ffmpegcolorspace/gstffmpegcolorspace.c index 7957cc9..17f9ae5 100644 --- a/gst/ffmpegcolorspace/gstffmpegcolorspace.c +++ b/gst/ffmpegcolorspace/gstffmpegcolorspace.c @@ -381,6 +381,11 @@ gst_ffmpegcsp_chain (GstPad * pad, GstData * data) gst_buffer_unref (inbuf); } + /* try negotiating here if it isn't yet */ + if (!gst_pad_is_negotiated (space->srcpad)) { + gst_pad_renegotiate (space->srcpad); + } + gst_pad_push (space->srcpad, GST_DATA (outbuf)); } -- 2.7.4