{
if (MMPLAYER_USE_DECODEBIN(player))
break; /* drop msg */
+ if (message->src == (GstObject *)player->pipeline->mainbin[MMPLAYER_M_ADAPTIVE_DEMUX].gst) {
+ LOGD("pipeline is still under construction for adaptive streaming");
+ retval = TRUE;
+ break;
+ }
if ((MMPLAYER_IS_HTTP_STREAMING(player)) &&
(!player->pipeline->mainbin[MMPLAYER_M_DEMUXED_S_BUFFER].gst) &&
goto EXIT;
}
}
+ } else {
+ if ((stype & GST_STREAM_TYPE_AUDIO) || (stype & GST_STREAM_TYPE_VIDEO)) {
+ LOGD("No caps info, skip it");
+ ret = 0;
+ goto EXIT;
+ }
}
switch (stype) {
goto ERROR;
}
- /* FIXME: required ?*/
/* create fakesink element for keeping the pipeline state PAUSED. if needed */
mainbin[MMPLAYER_M_SRC_FAKESINK].id = MMPLAYER_M_SRC_FAKESINK;
mainbin[MMPLAYER_M_SRC_FAKESINK].gst = gst_element_factory_make("fakesink", "state-holder");