[gst-devel] Capsfilter problem for rtp streaming

Marc Leeman marc.leeman at gmail.com
Wed Aug 26 08:19:32 CEST 2009


> No it failed 
> 
> Error: Filter caps do not completely specify the output format
> Returned, stopping playback
> Deleting pipeline

I wasn't setting the caps on the capsfilter; but on the updsrc; just as
you did on the commandline.

If it fails, it's probably something related to timezones; since it's
working fine here.

oldcaps = streamingbin->udpsrc.caps;
newcaps = gst_caps_new_simple("application/x-rtp",
              "clock-rate",G_TYPE_INT,90000,
              NULL);
streamingbin->udpsrc.caps = newcaps;
if (oldcaps)
   gst_caps_unref (oldcaps);


I'd better add an extra check then :-)

-- 
  greetz, marc
A mathematician is a device for turning coffee into theorems.
		-- P. Erdos
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090826/b2873c35/attachment.pgp>


More information about the gstreamer-devel mailing list