how to set “aspect-ratio” GstFrac tion * in element aspectratiocrop

cfd new via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
I have a pipeline with element aspectratiocrop. When I tried to set aspect-ratio withstd::string crop_str( "4/3" );
auto crop = gst_element_factory_make( "aspectratiocrop", nullptr );
g_object_set( G_OBJECT( crop ), "aspect-ratio", crop_str.c_str(), nullptr );
the app complains about 
passed '0' as denometer for GstFraction. 
How to set it properly?
   Joe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.