Code: Alles auswählen
/home/thomas/7162/martiimp/source/libstb-hal/libeplayer3/input.cpp Init 406: rtmp://live304.edge.filmon.com/live/?id=0ad5aac39bb13fbee642ff69c7409872030f07531fdec278d8bddffbccab1f3c82d782ae9c779887229bb4c61a0318b50c5d9fc937b4374c5d7915d24d4401959a6f9fe2cbb6cae157b0ca498cd45a2a2c0204a7bcaa3afc2982c01a2a075ef697405fc7fadf18641c19b336839f5a9cbfbf9c768b3a58d47575a54a3671940b484ff8c5a3a80ec5e8444ace5cab4e924b1126822e68b277/27.high.stream
not handled or unknown codec_type 2
not handled or unknown codec_type 2
aktuell hab ich das so
Code: Alles auswählen
Input::Input()
{
videoTrack = NULL;
audioTrack = NULL;
subtitleTrack = NULL;
teletextTrack = NULL;
hasPlayThreadStarted = 0;
seek_avts_abs = INT64_MIN;
seek_avts_rel = 0;
abortPlayback = false;
}
Input::~Input()
{
}
int64_t Input::calcPts(AVStream * stream, int64_t pts)
{
if (!stream) {
return INVALID_PTS_VALUE;
}
if (pts == AV_NOPTS_VALUE)
pts = INVALID_PTS_VALUE;
else if (avfc->start_time == AV_NOPTS_VALUE)
pts = 90000.0 * (double) pts * av_q2d(stream->time_base);
else
pts = 90000.0 * (double) pts * av_q2d(stream->time_base) - 90000.0 * avfc->start_time / AV_TIME_BASE;
if (pts & 0x8000000000000000ull)
pts = INVALID_PTS_VALUE;
return pts;
}
// from neutrino-mp/lib/libdvbsubtitle/dvbsub.cpp
extern void dvbsub_write(AVSubtitle *, int64_t);
extern void dvbsub_ass_write(AVCodecContext *c, AVSubtitle *sub, int pid);
extern void dvbsub_ass_clear(void);
// from neutrino-mp/lib/lib/libtuxtxt/tuxtxt_common.h
extern void teletext_write(int pid, uint8_t *data, int size);