Skip to content
Snippets Groups Projects
Commit fe3a0c2c authored by Jose Quaresma's avatar Jose Quaresma Committed by GStreamer Marge Bot
Browse files

proxysink: event_function needs to handle the event when it is disconnecetd from proxysrc

without this a disconneted proxysink fail when goes to play with error:

 Internal data stream error.
 streaming stopped, reason error (-5)

Part-of: <gstreamer/gst-plugins-bad!1508>
parent 91f94905
No related branches found
No related tags found
No related merge requests found
......@@ -226,8 +226,10 @@ gst_proxy_sink_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
self->pending_sticky_events = TRUE;
ret = TRUE;
}
} else
} else {
gst_event_unref (event);
ret = TRUE;
}
return ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment