mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
videobox: remove duplicate assignments
https://bugzilla.gnome.org/show_bug.cgi?id=736897
This commit is contained in:
parent
91a3d044f0
commit
208e12dca2
1 changed files with 0 additions and 4 deletions
|
@ -1951,9 +1951,7 @@ copy_rgb32_ayuv (guint i_alpha, GstVideoFrame * dest_frame,
|
||||||
gint r, g, b;
|
gint r, g, b;
|
||||||
guint8 *dest, *src;
|
guint8 *dest, *src;
|
||||||
|
|
||||||
dest = GST_VIDEO_FRAME_PLANE_DATA (dest_frame, 0);
|
|
||||||
dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0);
|
dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0);
|
||||||
|
|
||||||
src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0);
|
src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0);
|
||||||
in_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (src_frame, 0);
|
in_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (src_frame, 0);
|
||||||
packed_in = (in_bpp < 4);
|
packed_in = (in_bpp < 4);
|
||||||
|
@ -2059,9 +2057,7 @@ copy_ayuv_rgb32 (guint i_alpha, GstVideoFrame * dest_frame,
|
||||||
gint r, g, b;
|
gint r, g, b;
|
||||||
guint8 *src, *dest;
|
guint8 *src, *dest;
|
||||||
|
|
||||||
src = GST_VIDEO_FRAME_PLANE_DATA (src_frame, 0);
|
|
||||||
src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0);
|
src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0);
|
||||||
|
|
||||||
dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0);
|
dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0);
|
||||||
out_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (dest_frame, 0);
|
out_bpp = GST_VIDEO_FRAME_COMP_PSTRIDE (dest_frame, 0);
|
||||||
packed_out = (out_bpp < 4);
|
packed_out = (out_bpp < 4);
|
||||||
|
|
Loading…
Reference in a new issue