int v;
ev = (Emotion_Xine_Video *)ef;
+ if (ev->opening) return 0;
v = xine_get_stream_info(ev->stream, XINE_STREAM_INFO_VIDEO_CHANNELS);
if ((v < 1) &&
xine_get_stream_info(ev->stream, XINE_STREAM_INFO_HAS_VIDEO)) return 1;
Emotion_Xine_Video *ev;
ev = (Emotion_Xine_Video *)ef;
+ if (ev->opening) return 0;
return xine_get_param(ev->stream, XINE_PARAM_VIDEO_CHANNEL);
}
Emotion_Xine_Video *ev;
ev = (Emotion_Xine_Video *)ef;
+ if (ev->opening) return 0;
return xine_get_stream_info(ev->stream, XINE_STREAM_INFO_MAX_AUDIO_CHANNEL);
}
Emotion_Xine_Video *ev;
ev = (Emotion_Xine_Video *)ef;
+ if (ev->opening) return 0;
return xine_get_param(ev->stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL);
}
static char lang[XINE_LANG_MAX + 1];
ev = (Emotion_Xine_Video *)ef;
+ if (ev->opening) return NULL;
lang[0] = 0;
if (xine_get_audio_lang(ev->stream, channel, lang)) return lang;
return NULL;