pad: clear EOS flag when deactivating pads fixing element re-use

This commit is contained in:
Tim-Philipp Müller 2012-07-03 19:04:54 +01:00
parent 2833bb73cd
commit 4f7aa97b21

View file

@ -932,6 +932,7 @@ gst_pad_set_active (GstPad * pad, gboolean active)
if (!active) {
GST_OBJECT_LOCK (pad);
GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_NEED_RECONFIGURE);
GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_EOS);
GST_OBJECT_UNLOCK (pad);
}
return ret;