Getting nvdrmvideosink set_mode=1 to work with cropped height

Hi,

When using nvdrmvideosink with gstreamer,set_mode=1 will only work when a corresponding mode is found on the target display.

However, a good chunk of videos are not in “standard” resolution, particularly in their height dimension; the black bars are often cropped to save bitrate, eg, a 1080p video will be 1920x817 for 2.35:1 content, for example.

It is possible re-add the “missing” black bars, on top and on the bottom of the video, to get back to a standard resolution, and thus make set_mode=1 work in more cases?

Thanks.

Hi,
Not quite understand the issue. Please share a gstreamer pipeline so that we can reproduce the issue.