Browse files

Enable proper display of elapsed time when paused with VAAPI.

Make sure av_pause_frame is updated so that the player can pick up the
current frame number while paused.  Refs #10962
(cherry picked from commit 841ff3a)

Conflicts:

	mythtv/libs/libmythtv/videoout_openglvaapi.cpp
(cherry picked from commit 6be8c10)
  • Loading branch information...
1 parent 1e200d3 commit 17696817489c31931bd0a6c4f0311d61d459ff76 @stichnot stichnot committed Mar 22, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythtv/videoout_openglvaapi.cpp
View
1 mythtv/libs/libmythtv/videoout_openglvaapi.cpp
@@ -240,6 +240,7 @@ void VideoOutputOpenGLVAAPI::UpdatePauseFrame(int64_t &disp_timecode)
if (vbuffers.size(kVideoBuffer_used))
{
VideoFrame *frame = vbuffers.head(kVideoBuffer_used);
+ CopyFrame(&av_pause_frame, frame);
m_pauseBuffer = frame->buf;
disp_timecode = frame->disp_timecode;
}

0 comments on commit 1769681

Please sign in to comment.