gst-amlvideosink: CB1 remove frame drop Statistical threshold [1/1]
PD#SWPL-88573
Problem:
remove flow: No frame loss less than 10 frames is reported
Solution:
(detail info)
Verify:
(detail info)
Change-Id: Id02a20ec4f6374a64ee7fa0576b97e9eb8e66bed
Signed-off-by: xuesong.jiang <xuesong.jiang@amlogic.com>
diff --git a/src/gstamlvideosink.c b/src/gstamlvideosink.c
index c4e6913..2094f58 100644
--- a/src/gstamlvideosink.c
+++ b/src/gstamlvideosink.c
@@ -404,10 +404,7 @@
GST_OBJECT_LOCK(sink);
GST_DEBUG_OBJECT(sink, "app get frame drop num | queued:%d, dequeued:%d, droped:%d, rendered:%d",
sink->queued, sink->dequeued, sink->droped, sink->rendered);
- if (sink->droped < 10)
- g_value_set_int(value, 0);
- else
- g_value_set_int(value, sink->droped);
+ g_value_set_int(value, sink->droped);
GST_OBJECT_UNLOCK(sink);
break;
#if GST_IMPORT_LGE_PROP