mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
basetextoverlay: Clear reconfigure flags before negotation
This avoids negotiating twice. Current the _setcaps() patch does not clear the initial reconfigure flags, which lead to systematic double renegotiation. http://bugzilla.gnome.org/show_bug.cgi?id=751157
This commit is contained in:
parent
2308014963
commit
d10959fd36
1 changed files with 3 additions and 0 deletions
|
@ -729,6 +729,9 @@ gst_base_text_overlay_negotiate (GstBaseTextOverlay * overlay, GstCaps * caps)
|
|||
|
||||
GST_DEBUG_OBJECT (overlay, "performing negotiation");
|
||||
|
||||
/* Clear any pending reconfigure to avoid negotiating twice */
|
||||
gst_pad_check_reconfigure (overlay->srcpad);
|
||||
|
||||
if (!caps)
|
||||
caps = gst_pad_get_current_caps (overlay->video_sinkpad);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue