h264parse: Update caps per pixel aspect ratio change

Output caps should be updated per pixel aspect ratio change.
This commit is contained in:
Seungha Yang 2019-07-17 00:13:24 +09:00
parent 0e4efb86c8
commit 06d85ca487

View file

@ -1948,6 +1948,7 @@ gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps)
h264parse->parsed_par_d = vui->par_d; h264parse->parsed_par_d = vui->par_d;
GST_INFO_OBJECT (h264parse, "pixel aspect ratio has been changed %d/%d", GST_INFO_OBJECT (h264parse, "pixel aspect ratio has been changed %d/%d",
h264parse->parsed_par_n, h264parse->parsed_par_d); h264parse->parsed_par_n, h264parse->parsed_par_d);
modified = TRUE;
} }
} }