1*4882a593SmuzhiyunFrom bfc431b371a0184d107b41f9e4c811465bc66a92 Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Jeffy Chen <jeffy.chen@rock-chips.com>
3*4882a593SmuzhiyunDate: Fri, 19 Jun 2020 15:16:42 +0800
4*4882a593SmuzhiyunSubject: [PATCH 10/33] HACK: gstmpegvideoparse: Split every picture
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunSome decoders(e.g. Rockchip MPP) need it.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSigned-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9*4882a593Smuzhiyun---
10*4882a593Smuzhiyun gst/videoparsers/gstmpegvideoparse.c | 2 ++
11*4882a593Smuzhiyun 1 file changed, 2 insertions(+)
12*4882a593Smuzhiyun
13*4882a593Smuzhiyundiff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c
14*4882a593Smuzhiyunindex f8ef31a..2a70f7d 100644
15*4882a593Smuzhiyun--- a/gst/videoparsers/gstmpegvideoparse.c
16*4882a593Smuzhiyun+++ b/gst/videoparsers/gstmpegvideoparse.c
17*4882a593Smuzhiyun@@ -583,6 +583,7 @@ gst_mpegv_parse_process_sc (GstMpegvParse * mpvparse,
18*4882a593Smuzhiyun       GST_LOG_OBJECT (mpvparse, "Couldn't parse picture at offset %d",
19*4882a593Smuzhiyun           mpvparse->pic_offset);
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun+#if 0
22*4882a593Smuzhiyun     /* if terminating packet is a picture, we need to check if it has same TSN as the picture that is being
23*4882a593Smuzhiyun        terminated. If it does, we need to keep those together, as these packets are two fields of the same
24*4882a593Smuzhiyun        frame */
25*4882a593Smuzhiyun@@ -600,6 +601,7 @@ gst_mpegv_parse_process_sc (GstMpegvParse * mpvparse,
26*4882a593Smuzhiyun           ret = FALSE;
27*4882a593Smuzhiyun       }
28*4882a593Smuzhiyun     }
29*4882a593Smuzhiyun+#endif
30*4882a593Smuzhiyun   }
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun   return ret;
33*4882a593Smuzhiyun--
34*4882a593Smuzhiyun2.20.1
35*4882a593Smuzhiyun
36