#1831 closed enhancement (fixed)
Find best match of video format between requested and supported format
Reported by: | riza | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-2.4 |
Component: | pjmedia | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Video port needs to find the best match between requested and supported format.
We use format id matching with the nearest width and aspect ratio to find match between the requested format and the supported format.
For format id matching, the priority is:
- Find exact match
- Find format with the same color space
- Use the first supported format.
For ratio matching:
Find the lowest difference of the aspect ratio between the requested and
the supported format.
Note: ratio matching can be skipped by specifying
#define PJMEDIA_VID_PORT_MATCH_WIDTH_ARRAY_SIZE 1
Change History (5)
comment:1 Changed 10 years ago by riza
comment:2 Changed 10 years ago by riza
In 5031:
comment:3 Changed 10 years ago by riza
In 5033:
comment:4 Changed 10 years ago by riza
- Resolution set to fixed
- Status changed from new to closed
comment:5 Changed 10 years ago by nanang
In 5057:
Note: See
TracTickets for help on using
tickets.
In 5026: