Changeset 30619


Ignore:
Timestamp:
10/19/14 21:15:42 (9 years ago)
Author:
obi
Message:

optimize code

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/play.h

    r30556 r30619  
    15641564                                if(rcret == getrcconfigint("rcstop", NULL) || rcret == getrcconfigint("rcexit", NULL))
    15651565                                {
     1566                                        if(status.prefillbuffer == 1)
     1567                                        {
     1568                                                status.prefillbuffer = 2;
     1569                                                continue;
     1570                                        }
    15661571                                        playrcstop(playertype, flag);
    15671572                                        if(startfile == NULL)
  • titan/titan/player.h

    r30617 r30619  
    998998       
    999999                        }
     1000                        else if(status.prefillbuffer == 2)
     1001                        {
     1002                                drawscreen(skin, 0, 0);
     1003                                gst_element_set_state (data->pipeline, GST_STATE_PLAYING);
     1004                                status.prefillbuffer = 0;
     1005                        }
     1006
    10001007                        break;
    10011008 
Note: See TracChangeset for help on using the changeset viewer.