[mythtv] recent playback optimisations -> LiveTV regression for me

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Mon Nov 19 11:23:33 UTC 2018


Peter

FYI:

1) this commit

https://github.com/MythTV/mythtv/commit/7a74d6a845b80e1223bdcefe669a079bbf7c7762

causing on my system issues with LiveTV program transitions:

sometimes (avg. 1 per 5-10 transitions) LiveTV playback becomes time-lapse (slowed-down jumpy).
referring this commit shows no issue with test 100 transitions - so I think issue is within this commit.


2) Also I reverted:

@@ -3996,6 +3996,14 @@
         {
             AVFrame tmppicture;
.
+            VideoFrame *xf = picframe;
+            picframe = m_parent->GetNextVideoFrame();
+
+            unsigned char *buf = picframe->buf;
+            av_image_fill_arrays(tmppicture.data, tmppicture.linesize,
+                                 buf, AV_PIX_FMT_YUV420P, use_frame->width,
+                                 use_frame->height, IMAGE_ALIGN);
+
             tmppicture.data[0] = buf + picframe->offsets[0];
             tmppicture.data[1] = buf + picframe->offsets[1];
             tmppicture.data[2] = buf + picframe->offsets[2];

in 

https://github.com/MythTV/mythtv/commit/22de417da6437e877ef6c4d0ae5ee5b4121424c6

as this causing sometimes 0.5-2sec pixelizations at beginning of new program at LiveTV program transition.

br

  



More information about the mythtv-dev mailing list