mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue