AW: segment_time

Tim Müller tim at centricular.com
Thu Sep 24 07:47:05 PDT 2015


On Thu, 2015-09-24 at 14:18 +0000, Thornton, Keith wrote:

> I thought I was doing that with
> gst_object_set(G_OBJECT(pAppSrc), "format", "time", nullptr);

format=time only works in gst-launch :)

Either:

g_object_set (appsrc, "format", GST_FORMAT_TIME, NULL);

 or

gst_util_set_object_arg (G_OBJECT (arppsrc), "format", "time");

unless you have defined a gst_object_set() which does magic (it's not a
function gst provides).

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland





More information about the gstreamer-devel mailing list