[mythtv-commits] Ticket #12902: Cannot make QOpenGLContext current in a different thread (occurred while watching live tv)

MythTV noreply at mythtv.org
Sat Jan 7 18:58:07 UTC 2017


#12902: Cannot make QOpenGLContext current in a different thread (occurred while
watching live tv)
-------------------------------------------------+-------------------------
 Reporter:  William L. DeRieux IV                |          Owner:
  <WilliamDeRieux@…>                             |
     Type:  Bug Report - Crash                   |         Status:  new
 Priority:  critical                             |      Milestone:  0.28.1
Component:  Qt5 issues                           |        Version:  0.28.0
 Severity:  high                                 |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by WilliamDeRieux@…):

 Replying to [comment:7 WilliamDeRieux@…]:
 > Replying to [comment:6 pbennett]:
 > > You can extract a small part of a video, a minute or two. If we
 receive a takedown request from the copyright owner we will be sure to
 take its URL down. I do not think anybody will object to a two minute
 video clip that we will use for debugging purposes. I normally share a
 clip using dropbox. I have currently 4 video clips in my dropbox that I
 have shared in various tickets and nobody has sent me a takedown request.
 You can extract 200MB from a recording by using, for example
 > > {{{
 > > dd bs=1MB count=201 skip=4889 if=3819_20160207020000.mpg
 of=extracted_with_dd.mpg
 > > }}}
 > > I would not attempt to fix a bug unless I could first reproduce it. I
 do not have an analog recorder so I cannot create any nuv files, and even
 if I did, I don't know the conditions that will cause the error.
 > >
 > > It may not be specific to a video, but when it does happen, is it
 reproducible in occurring at the  same place every time you play the
 video?

 Also, after commenting out this function's body:

 {{{
 /** \fn VideoOutput::FallbackDeint(void)
  *  \brief Fallback to non-frame-rate-doubling deinterlacing method.
  */
 void VideoOutput::FallbackDeint(void)
 {
     /*SetupDeinterlace(false);
     if (db_vdisp_profile)
         SetupDeinterlace(true,
 db_vdisp_profile->GetFallbackDeinterlacer());*/
 }
 }}}

 {{{
     QString GetFallbackDeinterlacer(void) const
         { return GetPreference("pref_deint1"); }
 }}}


 I can set the video scan mode to 'Interlaced (Reverse)' by bringing up the
 menu by pressing M -> Video -> Advanced -> Video Scan -> Interlaced
 (Revered)

 Most of my videos are Auto-detected as Progressive video -- so the
 deinterlacer isn't available in that case.

 After that I have access to the deinterlacer M -> Video -> Advanced ->
 Deinterlacer
 Where I can choose from several different deinterlacers all of which work
 correctly.

 Apparently the issue happens when the Fallback Deinterlacer is chosen.

 Perhaps this is not properly set when the code calls:
 db_vdisp_profile->GetFallbackDeinterlacer() from the VideoDisplayProfile
 class.

 If GetFallbackDeinterlacer returns the preference for: pref_deint1 -- this
 might not be set in the preferences.
 I don't know where to set this default value through the user interface.

 '''The point here is that commenting out this function: FallbackDeint
 fixes the problem and deinterlacing still continues to work if set from
 the menu.'''

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


More information about the mythtv-commits mailing list