[mythtv] Crash on FF through aspect change

Edward Wildgoose edward.wildgoose at frmhedge.com
Fri Oct 31 19:14:24 EST 2003


Yep, this patch appears to work for me.  Thanks for that!

Ed W



> Trying to fix the race!
>
> Kenneth
>
> Index: osd.cpp
> ===================================================================
> RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/osd.cpp,v
> retrieving revision 1.83
> diff -u -r1.83 osd.cpp
> --- osd.cpp     28 Oct 2003 21:48:30 -0000      1.83
> +++ osd.cpp     31 Oct 2003 23:11:41 -0000
> @@ -147,6 +147,8 @@
>  void OSD::Reinit(int width, int height, int frint, int dispx, int
> dispy,
>                   int dispw, int disph)
>  {
> +    osdlock.lock();
> +
>      vid_width = width;
>      vid_height = height;
>      if (frint != -1)
> @@ -179,6 +181,8 @@
>
>      delete drawSurface;
>      drawSurface = new OSDSurface(width, height);
> +
> +    osdlock.unlock();
>  }
>
>  QString OSD::FindTheme(QString name)
>
>
>


----------------------------------------------------------------------------
----


_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list