X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/streamer.git/blobdiff_plain/f7e3f576a7cef57c300c6c5e9be17320e845e2b4..8ef758e404bbf7c8d668fd56ffc305ffcd26a0c3:/streamer.c diff --git a/streamer.c b/streamer.c index 84a320f..b110212 100644 --- a/streamer.c +++ b/streamer.c @@ -6,8 +6,9 @@ #include #include -#include -//#include +#include +#include +#include #include "input.h" #include "output.h" @@ -105,7 +106,7 @@ int main(int argc, char *argv[]) AVPacket *opkt; pkt->pts += s->streams[pkt->stream_index]->start_time; - rt_job_start(pkt->pts); + //rt_job_start(pkt->pts); f = pkt_decode(s, pkt); if (f) { opkt = pkt_encode(os, f); @@ -113,7 +114,7 @@ int main(int argc, char *argv[]) pkt_send(os, opkt); } } - rt_job_end(); + //rt_job_end(); av_free_packet(pkt); } }