Skip to content

Commit

Permalink
v4l2videodec: workaround for v4l2 driver multi-plane.
Browse files Browse the repository at this point in the history
workaround for v4l2 driver don't anounce to support multi-plane
format but the memory is multi-plane.

Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit e6d0e48)
  • Loading branch information
Song Bing authored and Haihua Hu committed Sep 24, 2020
1 parent e8965c1 commit 0a8d743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/v4l2/gstv4l2object.c
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,7 @@ gst_v4l2_object_get_caps_info (GstV4l2Object * v4l2object, GstCaps * caps,

if (fmt == NULL) {
fmt = gst_v4l2_object_get_format_from_fourcc (v4l2object, fourcc);
v4l2object->prefered_non_contiguous = FALSE;
v4l2object->prefered_non_contiguous = TRUE;
}

if (fmt == NULL)
Expand Down

0 comments on commit 0a8d743

Please sign in to comment.