Commit e3c77ba7 authored by Douglas Bagnall's avatar Douglas Bagnall Committed by Tim-Philipp Müller

videomixer: get height via GST_VIDEO_FRAME_HEIGHT, not _WIDTH

https://bugzilla.gnome.org/show_bug.cgi?id=687330
parent 79403bcb
......@@ -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); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment