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:
Jan Schmidt 2017-03-27 22:59:17 +11:00
parent b8a97007cc
commit 546a99026b

View file

@ -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);