~ubuntu-branches/ubuntu/vivid/gmlive/vivid

« back to all changes in this revision

Viewing changes to src/sopcastLivePlayer.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Aron Xu
  • Date: 2011-03-29 19:06:04 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110329190604-oivnq78hftc426wy
Tags: 0.22.3-1
* New upstream release.
* debian/control:
  + Add LDFLAGS := -Wl,--as-needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
{
114
114
                std::string& cache = GMConf["sopcast_mplayer_cache"];
115
115
                int icache = atoi(cache.c_str());
116
 
                icache = icache > 64 ? icache : 64;
 
116
                //icache = icache > 64 ? icache : 64;
117
117
 
 
118
                gmplayer->set_cache(icache);
118
119
                gmplayer->start(SOPCASTSTREAM);
119
120
                return false;
120
121
#if 0
150
151
        if (i > 70){
151
152
                std::string& cache = GMConf["sopcast_mplayer_cache"];
152
153
                int icache = atoi(cache.c_str());
153
 
                icache = icache > 64 ? icache : 64;
 
154
                //icache = icache > 64 ? icache : 64;
154
155
 
 
156
                gmplayer->set_cache(icache);
155
157
                gmplayer->start(SOPCASTSTREAM);
156
158
 
157
159
                sop_time_conn.disconnect(); // 启动mpaleyr,停掉显示缓冲状态