Fix for basic-tutorial-7.c (Simple multithreaded example)
Sebastian Dröge
sebastian at centricular.com
Mon Sep 4 12:31:58 UTC 2017
On Mon, 2017-09-04 at 12:40 +0100, Charlie Turner wrote:
> I'm not sure where basic-tutorial-7.c lives, the tutorial itself says
> to find it in my GStreamer installation, but I can't, nor in the git
> repo.
>
> Anyway, I found I had to make this change to get it to run in 1.12.2,
> perhaps a note could be added to the tut?
>
> - tee_src_pad_template = gst_element_class_get_pad_template
> (GST_ELEMENT_GET_CLASS (tee), "src_%d");
> + tee_src_pad_template = gst_element_class_get_pad_template
> (GST_ELEMENT_GET_CLASS (tee), "src_%u");
>
> (note it's s/src_%d/src_%u/)
I fixed that a while ago already:
https://cgit.freedesktop.org/gstreamer/gst-docs/commit/?id=1a9f0541be419798eacc6fedf50cadadebca352b
Is it still wrong on the website or somewhere?
--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170904/2392f8c2/attachment.sig>
More information about the gstreamer-devel
mailing list