wok-next diff gst0-plugins-bad/stuff/patches/fix-dfb-example.patch @ rev 20236

linux-cloop: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 06 10:18:18 2017 +0100 (2017-11-06)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gst0-plugins-bad/stuff/patches/fix-dfb-example.patch	Mon Nov 06 10:18:18 2017 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +Fix dfb-example
     1.5 +
     1.6 +Order of inclusion gives a strange effect on the definition of
     1.7 +gst_debug_log. Swapping the include statements solve it.
     1.8 +
     1.9 +Not upstreamed since there will be no more updates to this version
    1.10 +of gst-plugins-bad.
    1.11 +
    1.12 +Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    1.13 +---
    1.14 +diff -rup gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c
    1.15 +--- gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c	2011-12-11 19:49:11.000000000 +0100
    1.16 ++++ gst-plugins-bad-0.10.23.fixed/ext/directfb/dfb-example.c	2013-05-13 00:32:00.507469138 +0200
    1.17 +@@ -1,7 +1,7 @@
    1.18 + 
    1.19 +-#include <directfb.h>
    1.20 + #include <stdio.h>
    1.21 + #include <gst/gst.h>
    1.22 ++#include <directfb.h>
    1.23 + 
    1.24 + static IDirectFB *dfb = NULL;
    1.25 + static IDirectFBSurface *primary = NULL;