[gst-devel] [decodebin 0.9] getting informations of a stream

Ronald S. Bultje rbultje at ronald.bitfreak.net
Mon Sep 5 05:40:27 CEST 2005


Hi Vincent,

On Mon, 2005-09-05 at 11:33 +0200, Vincent Torri wrote:
[... preroll hackery ...]
> 1) When may I remove the unused sink ? After or before the PAUSED state ?
> If I remove it after the PAUSED state, I have a Gstreamer warning. If I
> remove it in the no-more-pad" callback, then there is no warning.

After you link the first real fakesink (so in a new-decoded-pad
callback), I think.

> 2) So, in the "new-decoded-pad" callback, I link a fakesink. Then, after
> the PAUSED state, I try to get the informations (width and height). I get
> the sink pad of the video fakesink, get the structure. But this latter is
> NULL.

I'm affraid I can't help here.

Ronald





More information about the gstreamer-devel mailing list