v4l2: Fix H.264 level 3 string representation
The string_to_level function handles "3" so the level_to_string function should do the same, to prevent caps negotiation issues.
This commit is contained in:
parent
6ce195e9d1
commit
4fb749d99f
@ -185,7 +185,7 @@ v4l2_level_to_string (gint v4l2_level)
|
||||
case V4L2_MPEG_VIDEO_H264_LEVEL_2_2:
|
||||
return "2.2";
|
||||
case V4L2_MPEG_VIDEO_H264_LEVEL_3_0:
|
||||
return "3.0";
|
||||
return "3";
|
||||
case V4L2_MPEG_VIDEO_H264_LEVEL_3_1:
|
||||
return "3.1";
|
||||
case V4L2_MPEG_VIDEO_H264_LEVEL_3_2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user