<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Le dimanche 27 avril 2014 à 16:56 +0200, stic@free.fr a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hello gstreamer friends,

I would like to be able to change resolution (width or height) in caps given to vp8enc while the pipeline is playing, but it fails with error:
gstvideoencoder.c:608:gst_video_encoder_setcaps:<encoder> rejected caps video/x-raw, width=(int)640, height=(int)400, framerate=(fraction)20/1, format=(string)I420
gstvideoencoder.c:1368:gst_video_encoder_chain:<encoder> error: encoder not initialized

I don't have such error with other encoders, they support resolution change while it is playing.
Is it possible with vp8enc ?
</PRE>
</BLOCKQUOTE>
<BR>
This issue has been filed, and patch has been proposed already. Would it possible to test this patch and report your results on the bug. That's basically all that is left before merging this (or maybe a unit test should be written, I need to recheck this).<BR>
<BR>
https://bugzilla.gnome.org/show_bug.cgi?id=726329<BR>
<BR>
cheers,<BR>
Nicolas
</BODY>
</HTML>