]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Use av_write_frame() instead of av_interleaved_write_frame()
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 6 Jul 2009 19:37:53 +0000 (19:37 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 6 Jul 2009 19:37:53 +0000 (19:37 +0000)
It seems the interleaver can screw up if something happens to the source
feed streams.

src/dvr/dvr_rec.c

index 57e5c736be0364fdd643d244013ae39c7bc28fe9..d3533bb4516db85e5feb189f30e667c1794a9325 100644 (file)
@@ -616,7 +616,7 @@ dvr_thread_new_pkt(dvr_entry_t *de, th_pkt_t *pkt)
     avpkt.duration =
       av_rescale_q(pkt->pkt_duration, AV_TIME_BASE_Q, st->time_base);
     avpkt.flags = pkt->pkt_frametype >= PKT_P_FRAME ? 0 : PKT_FLAG_KEY;
-    r = av_interleaved_write_frame(fctx, &avpkt);
+    r = av_write_frame(fctx, &avpkt);
     break;