[mythtv-commits] Ticket #12566: Can't exit video playback

MythTV noreply at mythtv.org
Sun May 1 10:32:12 UTC 2016


#12566: Can't exit video playback
-------------------------------------+-----------------------------
 Reporter:  rafe101@…                |          Owner:  jyavenard
     Type:  Bug Report - General     |         Status:  new
 Priority:  minor                    |      Milestone:  0.28
Component:  MythTV - Video Playback  |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:  video,playback,exit      |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by drhunt@…):

 Looks like it always gets stuck at the same place see new back trace from
 stuck live tv

 {{{
 #0  0x00007f0f8712d687 in ioctl () at ../sysdeps/unix/syscall-
 template.S:84
 #1  0x00007f0f8b140058 in drmWaitVBlank (fd=85, vbl=0x7ffce20649a0)
     at vsync.cpp:234
 #2  0x00007f0f8b14090f in DRMVideoSync::WaitForFrame (this=0x6e44120,
     sync_delay=40000) at vsync.cpp:323
 #3  0x00007f0f8b02528d in MythPlayer::AVSync (this=0x2a8b2c0,
     buffer=0x59c1d18, limit_delay=false) at mythplayer.cpp:1927
 #4  0x00007f0f8b02947b in MythPlayer::DisplayNormalFrame (this=0x2a8b2c0,
     check_prebuffer=true) at mythplayer.cpp:2266
 #5  0x00007f0f8b02a63e in MythPlayer::VideoLoop (this=0x2a8b2c0)
     at mythplayer.cpp:2470
 #6  0x00007f0f8af8706c in TV::PlaybackLoop (this=0x38d0610) at
 tv_play.cpp:1484
 #7  0x00007f0f8af74100 in TV::StartTV (tvrec=0x0, flags=0,
 }}}
 If I step through the code I can see it exiting MythPlayer::VideoLoop but
 just never can break out of TV::PlaybackLoop

 TV::PlaybackLoop
 wantToExit = True
 kState = kState_WatchingLiveTV
 At line 1470  if (kState_ChangingState == state)

 It looks like it should exit PlaybackLoop when the state transitions to
 kState_None. Where in the code should this occur? I suspect this is the
 issue.

 I'm current running mythbuntu 16.04 but experienced the same issue on
 15.04. I'm using an Intel Graphics card with Just the normal "High
 Quality" render mode so No Vdpau, Vaapi.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12566#comment:18>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list