diff options
author | Ravi Kiran K N <ravi.kiran@samsung.com> | 2014-09-17 10:51:59 +0530 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-09-17 10:23:12 +0300 |
commit | 732b4f0e8201449eeb7da4f106c0846122a9f955 (patch) | |
tree | 0f40bd22c74e3516747e63bda712ce086d54fab1 | |
parent | 9d3eeab150e2b26cae8821d726502b38713a81d5 (diff) | |
download | gstreamer-plugins-base-732b4f0e8201449eeb7da4f106c0846122a9f955.tar.gz |
typefind: correct the condition for irap flag
https://bugzilla.gnome.org/show_bug.cgi?id=736779
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 9ec330cbe..037a65ddb 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2744,7 +2744,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; |