pass properties to gst_caps_from_string()

kilamski malik.cisse at gmx.net
Fri Jun 21 07:53:09 UTC 2019


I can pass "capabilities" such as width, height or framerate to
gst_caps_from_string() but no element "properties" such as quality

example:

GstCaps *caps; 
GstSample *from_sample, *to_sample; 
caps = gst_caps_from_string("image/jpeg, quality=99"); *//doesn't work!*
to_sample = gst_video_convert_sample (from_sample, caps,
GST_CLOCK_TIME_NONE, &err); 

Please help



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list