mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
jpeg2000parse: no pts interpolation with subframe.
The jpeg2000parser must not interpolate PTS with subframes. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1653>
This commit is contained in:
parent
db13dc9d02
commit
7edff6e746
1 changed files with 4 additions and 0 deletions
|
@ -769,6 +769,10 @@ gst_jpeg2000_parse_handle_frame (GstBaseParse * parse,
|
|||
if (has_num_stripes) {
|
||||
gst_caps_set_simple (src_caps, "num-stripes", G_TYPE_INT,
|
||||
caps_int, NULL);
|
||||
/* remove PTS interpolation in the case of stripes having same PTS */
|
||||
if (caps_int > 1)
|
||||
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE
|
||||
(jpeg2000parse), FALSE);
|
||||
/* lets deduce the alignment property */
|
||||
if (!caps_string) {
|
||||
GST_WARNING_OBJECT (jpeg2000parse,
|
||||
|
|
Loading…
Reference in a new issue