mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
videotestsrc: fix crash with ARGB64
This got broken when it was ported.
This commit is contained in:
parent
8023733da8
commit
94ce75319a
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ paint_setup_ARGB64 (paintinfo * p, GstVideoFrame * frame)
|
||||||
p->ap = GST_VIDEO_FRAME_PLANE_DATA (frame, 0);
|
p->ap = GST_VIDEO_FRAME_PLANE_DATA (frame, 0);
|
||||||
p->yp = p->ap + 2;
|
p->yp = p->ap + 2;
|
||||||
p->up = p->ap + 4;
|
p->up = p->ap + 4;
|
||||||
p->yp = p->ap + 6;
|
p->vp = p->ap + 6;
|
||||||
p->astride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0);
|
p->astride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0);
|
||||||
p->ystride = p->astride;
|
p->ystride = p->astride;
|
||||||
p->ustride = p->astride;
|
p->ustride = p->astride;
|
||||||
|
|
Loading…
Reference in a new issue