mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-04 13:08:54 +01:00
Enable gstreamer pixel aspect ratio correction.
This commit is contained in:
parent
6e06a9ac52
commit
69fc21e7f2
@ -209,7 +209,7 @@ bool GStreamerVideo::play(std::string file)
|
||||
videoBin_ = gst_bin_new("SinkBin");
|
||||
videoSink_ = gst_element_factory_make("fakesink", "video_sink");
|
||||
videoConvert_ = gst_element_factory_make("capsfilter", "video_convert");
|
||||
videoConvertCaps_ = gst_caps_from_string("video/x-raw,format=(string)I420");
|
||||
videoConvertCaps_ = gst_caps_from_string("video/x-raw,format=(string)I420,pixel-aspect-ratio=(fraction)1/1");
|
||||
height_ = 0;
|
||||
width_ = 0;
|
||||
if(!playbin_)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user