mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
video: Fix stupid copy&paste error in last commit
This commit is contained in:
parent
d8c1044fbd
commit
b3192de682
1 changed files with 1 additions and 1 deletions
|
@ -1660,7 +1660,7 @@ gst_video_format_get_component_offset (GstVideoFormat format,
|
|||
return 0;
|
||||
case GST_VIDEO_FORMAT_A420:
|
||||
if (component == 0)
|
||||
return GST_ROUND_UP_4 (width) * GST_ROUND_UP_2 (height);
|
||||
return 0;
|
||||
if (component == 1)
|
||||
return GST_ROUND_UP_4 (width) * GST_ROUND_UP_2 (height);
|
||||
if (component == 2) {
|
||||
|
|
Loading…
Reference in a new issue