]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Use FFmpeg's av_interleaved_write_frame() or some players can't play the recorded...
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 19 Aug 2009 20:08:15 +0000 (20:08 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 19 Aug 2009 20:08:15 +0000 (20:08 +0000)
debian/changelog
src/dvr/dvr_rec.c

index 24b27ab280b04fc2afb5f0e1c77a2634cc2990a8..8fd2eeb61b7485aeb359d74b3b67de002efeecc0 100644 (file)
@@ -14,6 +14,9 @@ hts-tvheadend (2.5) hts; urgency=low
   * Add support for setting default extra times to add before and after
     a recording. Useful if your TV shows never start on time.
 
+  * Use FFmpeg's av_interleaved_write_frame() or some players can't
+    play the recorded content (vlc is one)
+
 hts-tvheadend (2.4) hts; urgency=low
 
   * Due to a bug, the polarisation of DVB-S muxes was not correctly
index 9eb8bf81226bd4898ff20feba1272af73f02e3f5..41cbab98176b082057b29ee4030808b168da0353 100644 (file)
@@ -622,7 +622,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_write_frame(fctx, &avpkt);
+    r = av_interleaved_write_frame(fctx, &avpkt);
     break;