mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
pad: clear EOS flag when deactivating pads fixing element re-use
This commit is contained in:
parent
2833bb73cd
commit
4f7aa97b21
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue