summaryrefslogtreecommitdiff
path: root/gst/videoparsers/gstmpeg4videoparse.c
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2019-10-11 16:19:26 +0300
committerVivia Nikolaidou <vivia@ahiru.eu>2019-11-19 10:23:31 +0200
commit851682629ee543a0058dd2fde6297271d05fc876 (patch)
tree5475f53feadfdc7a6dc8bf827d54d3ec81d4a844 /gst/videoparsers/gstmpeg4videoparse.c
parent397a9edb35dcdb959212164b01ac23beb6a7c585 (diff)
downloadgstreamer-plugins-bad-851682629ee543a0058dd2fde6297271d05fc876.tar.gz
videoparsers: Disable gst_base_parse_set_infer_ts
From the documentation of gst_base_parse_set_infer_ts, it should be disabled for non-audio data. Currently just disabling for all video parsers that have reordered data: h264, h265, mpeg, mpeg4, vc1. Was already disabled in h263.
Diffstat (limited to 'gst/videoparsers/gstmpeg4videoparse.c')
-rw-r--r--gst/videoparsers/gstmpeg4videoparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videoparsers/gstmpeg4videoparse.c b/gst/videoparsers/gstmpeg4videoparse.c
index e6628e4ba..53dddd4ae 100644
--- a/gst/videoparsers/gstmpeg4videoparse.c
+++ b/gst/videoparsers/gstmpeg4videoparse.c
@@ -185,6 +185,7 @@ gst_mpeg4vparse_init (GstMpeg4VParse * parse)
parse->last_report = GST_CLOCK_TIME_NONE;
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (parse), FALSE);
+ gst_base_parse_set_infer_ts (GST_BASE_PARSE (parse), FALSE);
GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (parse));
GST_PAD_SET_ACCEPT_TEMPLATE (GST_BASE_PARSE_SINK_PAD (parse));
}