Change resolution on the fly

张若 zr92zr at gmail.com
Mon Sep 26 07:21:02 UTC 2016


So I just add another g_objext_set () later there to change?
But when will it change?
My goal is when the pipeline is running, at some time I want to change the
resolution for streaming, then it changes.

2016-09-26 9:15 GMT+02:00 Sebastian Dröge <sebastian at centricular.com>:

> On Mon, 2016-09-26 at 09:06 +0200, 张若 wrote:
> > Sorry, I am a new comer to gstreamer.
> > I am not sure where can I change the caps of the second filter?
> > Because the pipeline is running.
> > On the terminal or in the c file ?
>
> Inside the code. You should already have some code there that calls
> g_object_set() to set the caps property, just call it again when you
> want the resolution to be changed.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160926/af9bf048/attachment.html>


More information about the gstreamer-devel mailing list