appsrc stream duration

Bernhard Graaf bernhard.graaf at gmx.de
Tue Nov 3 01:31:29 PST 2015


Hi,

 

Is this question (see below) absurd?

Or I am on the wrong track?

 

Thank a lot

Bernhard

 

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Bernhard Graaf
Gesendet: Montag, 2. November 2015 11:54
An: Discussion of the development of and with GStreamer
Betreff: appsrc stream duration

 

Hi,

 

I've written an appsrc, reading from file and push into playbin.

I set the size with g_object_set (app->appsrc, "size", (gint64) app->length,
NULL) and may check the duration with gst_element_query_duration.

But if the size of the source file is growing up, and I set the new size
with g_object_set(.."size"..), the duration will never be changed. 

My question: Is there a duration_change_message I should send to the
pipeline, or something else I forgot to get the new duration?

 

Thanks a lot!

Bernhard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151103/d793d41f/attachment.html>


More information about the gstreamer-devel mailing list