mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rawvideoparse: Revert last commit and actually remember the physically last plane
Instead of just always taking the last one as before.
This commit is contained in:
parent
99e2745636
commit
d594d4df6c
1 changed files with 1 additions and 1 deletions
|
@ -1176,10 +1176,10 @@ gst_raw_video_parse_update_info (GstRawVideoParseConfig * config)
|
||||||
for (i = 0; i < n_planes; ++i) {
|
for (i = 0; i < n_planes; ++i) {
|
||||||
gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i);
|
gsize plane_offset = GST_VIDEO_INFO_PLANE_OFFSET (info, i);
|
||||||
if (plane_offset >= last_plane_offset) {
|
if (plane_offset >= last_plane_offset) {
|
||||||
|
last_plane = i;
|
||||||
last_plane_offset = plane_offset;
|
last_plane_offset = plane_offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last_plane = n_planes - 1;
|
|
||||||
|
|
||||||
last_plane_size =
|
last_plane_size =
|
||||||
GST_VIDEO_INFO_PLANE_STRIDE (info,
|
GST_VIDEO_INFO_PLANE_STRIDE (info,
|
||||||
|
|
Loading…
Reference in a new issue