The frames are flipped according to the tag orientation so it's no longer accurate.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4796>
if (gst_video_orientation_from_tag (taglist, &method)) {
gst_video_flip_set_method (vf, method, TRUE);
if (gst_video_orientation_from_tag (taglist, &method)) {
gst_video_flip_set_method (vf, method, TRUE);
+
+ if (vf->method == GST_VIDEO_ORIENTATION_AUTO) {
+ /* update the orientation tag as we rotate the video accordingly */
+ gst_tag_list_add (taglist, GST_TAG_MERGE_REPLACE, "image-orientation",
+ "rotate-0", NULL);
+ }