typefind: correct the condition for irap flag

https://bugzilla.gnome.org/show_bug.cgi?id=736779
This commit is contained in:
Ravi Kiran K N 2014-09-17 10:51:59 +05:30 committed by Sebastian Dröge
parent 52e97f59ba
commit cf98138c7e

View file

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