mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
videomixer: get height via GST_VIDEO_FRAME_HEIGHT, not _WIDTH
https://bugzilla.gnome.org/show_bug.cgi?id=687330
This commit is contained in:
parent
79403bcb0c
commit
e3c77ba709
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
|
|||
\
|
||||
info = srcframe->info.finfo; \
|
||||
dest_width = GST_VIDEO_FRAME_WIDTH (destframe); \
|
||||
dest_height = GST_VIDEO_FRAME_WIDTH (destframe); \
|
||||
dest_height = GST_VIDEO_FRAME_HEIGHT (destframe); \
|
||||
\
|
||||
xpos = x_round (xpos); \
|
||||
ypos = y_round (ypos); \
|
||||
|
@ -498,7 +498,7 @@ blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
|
|||
\
|
||||
info = srcframe->info.finfo; \
|
||||
dest_width = GST_VIDEO_FRAME_WIDTH (destframe); \
|
||||
dest_height = GST_VIDEO_FRAME_WIDTH (destframe); \
|
||||
dest_height = GST_VIDEO_FRAME_HEIGHT (destframe); \
|
||||
\
|
||||
xpos = GST_ROUND_UP_2 (xpos); \
|
||||
ypos = GST_ROUND_UP_2 (ypos); \
|
||||
|
|
Loading…
Reference in a new issue