Stream information in start stream event
Sebastian Dröge
sebastian at centricular.com
Thu May 22 00:23:27 PDT 2014
On Mo, 2014-05-19 at 05:18 -0700, rasnaut wrote:
> Hello,
> I work with gstreamer-1.11. My programm catch iptv stream and decode it by
> decodebin. In some stream I need have possibility select audio stream. I
> want using stream ID information, but I don't know, how I can get it. My
> function for working with stream events:
>
> [...]
>
> So, what I need add to this, that I can get stream ID (or language) info?
You can get the stream-id from the stream-start event by either
intercepting that event in a pad probe, or calling
gst_pad_get_sticky_event() on the pad.
For the language, you can get it from the LANGUAGE tag from the tag
event.
--
Sebastian Dröge, 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/20140522/93e33487/attachment.sig>
More information about the gstreamer-devel
mailing list