]> rtime.felk.cvut.cz Git - frescor/streamer.git/blobdiff - streamer.c
Omkizing streamer without Aquosa support
[frescor/streamer.git] / streamer.c
index 84a320f153353439261e4dd1c5285c318e7115b0..b11021213624facf83bdc7093cdd5f459a44ab89 100644 (file)
@@ -6,8 +6,9 @@
 #include <unistd.h>
 #include <stdlib.h>
 
-#include <avformat.h>
-//#include <avdevice.h>
+#include <libavformat/avformat.h>
+#include <libavdevice/avdevice.h>
+#include <libswscale/swscale.h>
 
 #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);
     }
   }