Re: determine within plugin, whether radio or tv stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27.01.2016 19:58, Joerg Riechardt wrote:
Am 27.01.2016 um 14:45 schrieb Stefan Braun:
Hi,
i do this in my plugins in the following way (Channel is a cChannel object):
bool isRadio = !Channel->Vpid() && Channel->Apid(0);

cheers Louis

Well, I should have mentioned, that this is about a player plugin. So the stream it receives from VDR might be a recording as well.
The question more precisely is, how do I get the video pid and audio pid (or be sure there is no video pid) out of the stream. I guess I need to parse it.
Or if there is a better way of doing this.
Joerg

Maybe the function cPlayer::DeviceIsPlayingVideo() can help?

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux