1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../mythtv/directfb-directresult.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- mythtv-0.21/libs/libmythtv/videoout_directfb.cpp.orig 2008-03-08 01:07:31.000000000 +0100
18 +++ mythtv-0.21/libs/libmythtv/videoout_directfb.cpp 2008-09-10 09:34:58.000000000 +0200
22 VERBOSE(VB_IMPORTANT, LOC_ERR + "Failed to lock buffer" + ENOFB);
23 - fberr = bufferSurface->Release(bufferSurface);
24 - if (DFB_OK != fberr)
25 + if (bufferSurface->Release(bufferSurface) != DR_OK)
27 VERBOSE(VB_IMPORTANT, LOC_ERR +
28 "Failed to release buffer" + ENOFB);
30 "Failed to unlock buffer" + ENOFB);
33 - fberr = surf->Release(surf);
34 - if (DFB_OK != fberr)
35 + if (surf->Release(surf) != DR_OK)
37 VERBOSE(VB_IMPORTANT, LOC_ERR +
38 "Failed to release buffer" + ENOFB);
40 "Failed to unlock buffer" + ENOFB);
43 - fberr = surf->Release(surf);
44 - if (DFB_OK != fberr)
45 + if (surf->Release(surf) != DR_OK)
47 VERBOSE(VB_IMPORTANT, LOC_ERR +
48 "Failed to release buffer" + ENOFB);
51 VERBOSE(VB_IMPORTANT, LOC_WARN + "Failed to test config" + ENOFB);
53 - fberr = vodata->videoLayer->Release(vodata->videoLayer);
54 - if (DFB_OK != fberr)
55 + if (vodata->videoLayer->Release(vodata->videoLayer) != DR_OK)
57 VERBOSE(VB_IMPORTANT, LOC_ERR +
58 "Failed to release display layer" + ENOFB);