AW: AW: segment_time
Thornton, Keith
keith.thornton at zeiss.com
Fri Sep 25 01:04:25 PDT 2015
Thanks Tim,
I had coded g_object_set (appsrc, "format", "time", nullptr);
I changed to
g_object_set (appsrc, "format", GST_FORMAT_TIME, NULL);
and now it works :-)
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Tim Müller
Gesendet: Donnerstag, 24. September 2015 16:47
An: Discussion of the development of and with GStreamer
Betreff: Re: AW: segment_time
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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list