mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
older gccs crack here
Original commit message from CVS: older gccs crack here
This commit is contained in:
parent
7f3b5032b4
commit
637326bc8d
2 changed files with 4 additions and 2 deletions
|
@ -546,9 +546,10 @@ gst_basic_scheduler_eventhandler_proxy (GstPad *srcpad, GstEvent *event)
|
|||
}
|
||||
|
||||
if (flush) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "event is flush");
|
||||
GstData *data = GST_DATA (GST_RPAD_BUFPEN (srcpad));
|
||||
|
||||
GST_INFO (GST_CAT_SCHEDULING, "event is flush");
|
||||
|
||||
if (data) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "need to clear some buffers");
|
||||
|
||||
|
|
|
@ -951,9 +951,10 @@ gst_opt_scheduler_event_wrapper (GstPad *srcpad, GstEvent *event)
|
|||
}
|
||||
|
||||
if (flush) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "event is flush");
|
||||
GList *buflist = GST_PAD_BUFLIST (srcpad);
|
||||
|
||||
GST_INFO (GST_CAT_SCHEDULING, "event is flush");
|
||||
|
||||
if (buflist) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "need to clear some buffers");
|
||||
g_list_foreach (buflist, (GFunc) clear_queued, NULL);
|
||||
|
|
Loading…
Reference in a new issue