Changeset 39848


Ignore:
Timestamp:
01/29/17 07:20:59 (6 years ago)
Author:
obi
Message:

eplayer test

Location:
titan/libeplayer3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/libeplayer3/Makefile.am.mipsel

    r39831 r39848  
    11AUTOMAKE_OPTIONS = subdir-objects
    2 AM_CFLAGS = -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
     2AM_CFLAGS = -Wall -DMIPSEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
    33
    44CXXFLAGS = -Wall
  • titan/libeplayer3/container/container_ffmpeg.c

    r39831 r39848  
    367367           (flag == 1 && hasfillerThreadStarted[id] == 1 && avContextTab[0] != NULL && avContextTab[0]->pb != NULL && rwdiff > FILLBUFDIFF) )
    368368    {
    369   //       if( 0 == PlaybackDieNow(0))
    370   //       {
    371   //          break;
    372   //       }
    373          
     369#ifdef MIPSEL
     370         if( 0 == PlaybackDieNow(0))
     371         {
     372            break;
     373         }
     374#endif
    374375         if(flag == 0 && ffmpeg_buf_stop == 1)
    375376         {
     
    623624    int32_t count = 2000;
    624625
    625 //    while(sumlen < buf_size && (--count) > 0 && 0 == PlaybackDieNow(0))
     626#ifdef MIPSEL
     627    while(sumlen < buf_size && (--count) > 0 && 0 == PlaybackDieNow(0))
     628#else
    626629    while(sumlen < buf_size && (--count) > 0)
     630#endif
    627631    {
    628632        len = ffmpeg_read_real(opaque, buf, buf_size - sumlen);
     
    23202324{
    23212325    PlaybackHandler_t *p = (PlaybackHandler_t *)ctx;
    2322 //    return p->abortRequested || PlaybackDieNow(0);
     2326#ifdef MIPSEL
     2327    return p->abortRequested || PlaybackDieNow(0);
     2328#else
    23232329//      secound http stream not working with PlaybackDieNow(0)
    23242330    return p->abortRequested;
     2331#endif
    23252332}
    23262333
  • titan/libeplayer3/playback/playback.c

    r39831 r39848  
    7878        dieNow = 1;
    7979    }
     80printf("PlaybackDieNow=%d\n", dieNow);
    8081    return dieNow;
    8182}
Note: See TracChangeset for help on using the changeset viewer.