Use FFmpeg's av_interleaved_write_frame() or some players can't play the recorded content (vlc is one)

This commit is contained in:
Andreas Öman 2009-08-19 20:08:15 +00:00
parent 5dfdbc7a9b
commit 153c61d9ea
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View 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

View 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;