From 69fc21e7f298b06423227ca02c0e5c340f0402dd Mon Sep 17 00:00:00 2001 From: Levi Pearson Date: Wed, 25 Jan 2017 23:06:22 -0700 Subject: [PATCH] Enable gstreamer pixel aspect ratio correction. --- RetroFE/Source/Video/GStreamerVideo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/Video/GStreamerVideo.cpp b/RetroFE/Source/Video/GStreamerVideo.cpp index ea426c8..eb39d61 100644 --- a/RetroFE/Source/Video/GStreamerVideo.cpp +++ b/RetroFE/Source/Video/GStreamerVideo.cpp @@ -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_)