Ticket #463: disablertsp.patch

File disablertsp.patch, 1.8 KB (added by Andrew shirley <andrew@…>, 16 years ago)

patch to fix above problem, just adds some '#ifdef's

  • clientlib/rtspin.cpp

     
    88        device
    99*/
    1010
     11#ifdef MFD_RTSP_SUPPORT
     12
    1113#include <iostream>
    1214using namespace std;
    1315
    1416#include <qapplication.h>
    1517
     18
    1619#include <liveMedia.hh>
    1720#include <GroupsockHelper.hh>
    1821#include <BasicUsageEnvironment.hh>
     
    386389        rtp_incoming_buffer = NULL;
    387390    }
    388391}
     392
     393#endif
  • clientlib/rtspclient.cpp

     
    88
    99*/
    1010
     11#ifdef MFD_RTSP_SUPPORT
     12
    1113#include <iostream>
    1214using namespace std;
    1315
     
    123125
    124126
    125127
     128#endif
  • mfd/plugins/audio/livemedia.cpp

     
    1414using namespace std;
    1515
    1616#include <mythtv/audiooutput.h>
     17#include "livemedia.h"
     18#ifdef MFD_RTSP_SUPPORT
    1719#include <SimpleRTPSink.hh>
    1820#include <uLawAudioFilter.hh>
    1921#include <GroupsockHelper.hh>
    20 #include "livemedia.h"
    21 #ifdef MFD_RTSP_SUPPORT
    2222
    2323UniversalPCMSource* UniversalPCMSource::createNew(UsageEnvironment& env, AudioOutput& ao)
    2424{
  • mfd/plugins/audio/audio.cpp

     
    15301530
    15311531void AudioPlugin::useSpeakers(int which_one, bool turn_on)
    15321532{
     1533#ifdef MFD_RTSP_SUPPORT
    15331534    maop_mutex.lock();
    15341535
    15351536        QPtrListIterator<MaopInstance> it( maop_instances );
     
    15651566    maop_mutex.unlock();
    15661567   
    15671568    listSpeakers();
     1569#endif
    15681570}
    15691571
    15701572AudioPlugin::~AudioPlugin()