Problems Streaming Video using SDP File in Windows

Sebastian Dröge sebastian at centricular.com
Tue Nov 26 00:38:42 PST 2013


On Mo, 2013-11-25 at 12:44 +0000, Jon Lovewell wrote:
> Further to my last posts I have been trying to investigate why the
> following pipeline 'gst-launch-1.0 -v filesrc location=D:\
> \stream.sdp ! sdpdemux ! decodebin ! autovideosink' is not working.
> 
> I am using V1.2.1 and this pipeline worked in V1.0.10
> 
> As an aside, I have tried the pipelines related to
> https://bugzilla.gnome.org/show_bug.cgi?id=702495 and I get video.
> 
> I am now setting up a pipeline manually in code (using a modified
> version of the client-PCMA.c example from tests\examples\rtp in
> gst-plugins-good)and attaching to the pad-added signal of the rtpbin.
> 
> The signal is emitted successfully but calling
> 'gst_pad_has_current_caps' returns false.
> 
> I do not think that this is the correct behaviour but am not entirely
> sure.

Where and when do you call gst_pad_has_current_caps()? In the pad-added
signal of rtpbin on one of the rtpbin pads? That might be fixed by this
recent commit:
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=8162a583a4dd68582bf186e2e47a8f0d68fa1980

Otherwise, do you at least get the caps soon after the pad-added signal,
i.e. is the notify::caps signal emitted on the pad? That would work as a
workaround but the caps should really be known already when the pad is
added.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131126/341cd01c/attachment.pgp>


More information about the gstreamer-devel mailing list