nego if not done yet

Original commit message from CVS:
nego if not done yet
This commit is contained in:
Thomas Vander Stichele 2005-01-13 17:10:22 +00:00
parent af9b02817f
commit f612df4dfc

View file

@ -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));
}