summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58ed482)
- fix query duration error just after prepare()
in case of adaptive streaming playback
- state-holder is removed earlier than expected
by streams_selected msg which is posted from adaptivedemux2
- do not select invalid audio track to make decodebin3 post
stream_selected msg
Change-Id: I0e68e5344c43bd5de5a8731f8ffdfacbe1689f89
Name: libmm-player
Summary: Multimedia Framework Player Library
Name: libmm-player
Summary: Multimedia Framework Player Library
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
{
if (MMPLAYER_USE_DECODEBIN(player))
break; /* drop msg */
{
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) &&
if ((MMPLAYER_IS_HTTP_STREAMING(player)) &&
(!player->pipeline->mainbin[MMPLAYER_M_DEMUXED_S_BUFFER].gst) &&
+ } else {
+ if ((stype & GST_STREAM_TYPE_AUDIO) || (stype & GST_STREAM_TYPE_VIDEO)) {
+ LOGD("No caps info, skip it");
+ ret = 0;
+ goto EXIT;
+ }
/* 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");
/* 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");