mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
urisourcebin: Set removed flag when removing buffering msg
Forgot to set the flag, resulting in a missed check for sending 100% in some cases. Spotted by Coverity. CID: 1403263
This commit is contained in:
parent
b8a97007cc
commit
546a99026b
1 changed files with 1 additions and 0 deletions
|
@ -2569,6 +2569,7 @@ remove_buffering_msgs (GstURISourceBin * urisrc, GstObject * src)
|
|||
gst_message_unref (bufstats);
|
||||
urisrc->buffering_status =
|
||||
g_list_delete_link (urisrc->buffering_status, iter);
|
||||
removed = TRUE;
|
||||
break;
|
||||
}
|
||||
iter = g_list_next (iter);
|
||||
|
|
Loading…
Reference in a new issue