#include "woptionpane.h"
#include "osdopenvg.h"
+#include <bcm_host.h>
AudioOMX::AudioOMX()
{
if (packet.type != lastAType) {//Format Change //Push data out !
firstsynched = false;
achange=true;
+ Log::getInstance()->log("Audio", Log::DEBUG,"Notice audio type change %d %d", packet.type,lastAType);
lastAType = packet.type;
decompress_buffer_filled=0;
}
cur_input_buf_omx = NULL;
}
+
int oldcancelstate;
int oldcanceltype;
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &oldcancelstate);
//cur_input_buf_omx->nFlags|=OMX_BUFFERFLAG_TIME_UNKNOWN;
}
lastreftimeOMX = packet.presentation_time;
- // Log::getInstance()->log("Audio", Log::DEBUG,
- // "Time code %lld pts %lld dts %lld", lastreftimeOMX, packet.pts,packet.dts);
+ //Log::getInstance()->log("Audio", Log::DEBUG,
+ // "Time code %lld pts %lld dts %lld", lastreftimeOMX, packet.pts,packet.dts);
lastreftimePTS = packet.pts;
cur_input_buf_omx->nTimeStamp = VideoOMX::intToOMXTicks(lastreftimeOMX/10LL); // the clock component is faulty;
} else {
#include <fontconfig/fontconfig.h>
#include <vector>
#include <math.h>
+#include <bcm_host.h>
using namespace Magick;
vgSetGlyphToImage(
vgttfont,
glyph_index,
- handle, glyphOrigin, escapement);
+ handle, (VGfloat*)glyphOrigin, (VGfloat*)escapement);
vgDestroyImage(handle);
tt_font_chars[glyph_index]=1;