Changeset 32750


Ignore:
Timestamp:
01/27/15 23:05:26 (9 years ago)
Author:
obi
Message:

fix create backdrop

Location:
titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tmdb/tmdb.h

    r32747 r32750  
    444444                                                        {
    445445                                                                char* cmd = NULL;
     446#ifndef MIPSEL
    446447                                                                cmd = ostrcat(cmd, "ffmpeg -i ", 1, 0);
    447448                                                                cmd = ostrcat(cmd, tnode->backdrop, 1, 0);
     
    469470                                                                        {
    470471                                                                                debug(133, "size ok %d", picsize);
     472#endif
    471473#ifdef MIPSEL
    472474                                                                                cmd = ostrcat(cmd, "cp -a ", 1, 0);
     
    532534                                                                                                mvicount--;
    533535                                                                                }
     536#ifndef MIPSEL
    534537                                                                        }
    535538                                                                        else
     
    552555                                                                }
    553556                                                                free(size), size = NULL;
     557#endif
    554558                                                                unlink(tmpmeta);
    555559                                                                unlink(tmpjpg);
     
    615619                                {
    616620                                        char* cmd = NULL;
     621#ifndef MIPSEL
    617622                                        cmd = ostrcat(cmd, "ffmpeg -i ", 1, 0);
    618623                                        cmd = ostrcat(cmd, tnode->postermid, 1, 0);
     
    639644                                                {
    640645                                                        debug(133, "size ok %d", picsize);
     646#endif
    641647#ifdef MIPSEL
    642648                                                        cmd = ostrcat(cmd, "cp -a ", 1, 0);
     
    698704                                                        }
    699705                                                        free(cmd), cmd = NULL;
     706#ifndef MIPSEL
    700707                                                }
    701708                                                else
     
    715722                                        }
    716723                                        free(size), size = NULL;
     724#endif
    717725                                        unlink(tmpmeta);
    718726                                        unlink(tmpjpg);
  • titan/titan/mediadb.h

    r32747 r32750  
    23662366                                if(filesize < 1500000)
    23672367                                {
     2368#ifndef MIPSEL
    23682369                                        mediadbffmpeg4(timestamp, tmpmeta);
    23692370                                               
     
    23822383                                                {
    23832384                                                        debug(133, "size ok %d", picsize);
     2385#endif
    23842386                                                        mediadbjpegtran(tmpjpg, timestamp);
    23852387                                               
     
    23982400                                                                }       
    23992401                                                        }
     2402#ifndef MIPSEL
    24002403                                                }
    24012404                                                else
     
    24152418                                        }
    24162419                                        free(size); size = NULL;
     2420#endif
    24172421                                        unlink(tmpmeta);
    24182422                                        unlink(tmpjpg);
Note: See TracChangeset for help on using the changeset viewer.