From cf98138c7ed1d1ea3f88b3156d07c67c72710e06 Mon Sep 17 00:00:00 2001 From: Ravi Kiran K N Date: Wed, 17 Sep 2014 10:51:59 +0530 Subject: [PATCH] typefind: correct the condition for irap flag https://bugzilla.gnome.org/show_bug.cgi?id=736779 --- gst/typefind/gsttypefindfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index d414e57b29..70cba8ca7f 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2750,7 +2750,7 @@ h265_video_type_find (GstTypeFind * tf, gpointer unused) seen_sps = TRUE; else if (nut == 34) seen_pps = TRUE; - else if (nut >= 16 || nut <= 21) { + else if (nut >= 16 && nut <= 21) { /* BLA, IDR and CRA pictures are belongs to be IRAP picture */ /* we are not counting the reserved IRAP pictures (22 and 23) to good */ seen_irap = TRUE;