diff options
author | Gary Thomas <gary@mlbassoc.com> | 2012-03-29 08:40:04 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 22:57:30 +0100 |
commit | dd4d49b20f3c690d7bff2347e176e7acf6ffc787 (patch) | |
tree | 95d86b03e48682de6a112c7989aadec5b47a140e /meta/recipes-multimedia/gstreamer | |
parent | 3af7e95d69d29f1a5f79e60adfd4db7bd3c4570d (diff) | |
download | poky-dd4d49b20f3c690d7bff2347e176e7acf6ffc787.tar.gz |
gstreamer: Provide easy way to enable runtime debugging
The gstreamer framework has a very useful debugging setup which is
essential for debugging pipelines and plugins. This patch makes
it simple to enable this (disabled by default). To enable debugging,
just add this line to local.conf
GSTREAMER_DEBUG = "--enable-debug"
(From OE-Core rev: 947c00c78732da48a111228e1325ad42cf57a370)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
4 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb index 5ee5066d87..92cd349b70 100644 --- a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb +++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb | |||
@@ -25,7 +25,8 @@ SRC_URI[sha256sum] = "76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def18 | |||
25 | 25 | ||
26 | PR = "r1" | 26 | PR = "r1" |
27 | 27 | ||
28 | EXTRA_OECONF = "--with-ffmpeg-extra-configure=\"--target-os=linux\" " | 28 | GSTREAMER_DEBUG ?= "--disable-debug" |
29 | EXTRA_OECONF = "--with-ffmpeg-extra-configure=\"--target-os=linux\" ${GSTREAMER_DEBUG}" | ||
29 | 30 | ||
30 | # yasm not found, use --disable-yasm for a crippled build for libav | 31 | # yasm not found, use --disable-yasm for a crippled build for libav |
31 | EXTRA_OECONF_append_x86-64 = " --disable-yasm " | 32 | EXTRA_OECONF_append_x86-64 = " --disable-yasm " |
diff --git a/meta/recipes-multimedia/gstreamer/gst-fluendo.inc b/meta/recipes-multimedia/gstreamer/gst-fluendo.inc index 8b24cf757a..b2c7eea3cb 100644 --- a/meta/recipes-multimedia/gstreamer/gst-fluendo.inc +++ b/meta/recipes-multimedia/gstreamer/gst-fluendo.inc | |||
@@ -11,4 +11,5 @@ FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" | |||
11 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" | 11 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" |
12 | FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" | 12 | FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" |
13 | 13 | ||
14 | EXTRA_OECONF = "--disable-debug --disable-valgrind" | 14 | GSTREAMER_DEBUG ?= "--disable-debug" |
15 | EXTRA_OECONF = "${GSTREAMER_DEBUG} --disable-valgrind" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc index f11a4af668..ccb81b3281 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc | |||
@@ -10,7 +10,8 @@ FILESPATH =. "${FILE_DIRNAME}/gst-plugins:" | |||
10 | 10 | ||
11 | SRC_URI = "http://gstreamer.freedesktop.org/src/${BPN}/${BPN}-${PV}.tar.bz2" | 11 | SRC_URI = "http://gstreamer.freedesktop.org/src/${BPN}/${BPN}-${PV}.tar.bz2" |
12 | 12 | ||
13 | EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples " | 13 | GSTREAMER_DEBUG ?= "--disable-debug" |
14 | EXTRA_OECONF = "--disable-valgrind ${GSTREAMER_DEBUG} --disable-examples " | ||
14 | 15 | ||
15 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | 16 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
16 | 17 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb index 3c03c0db3f..278c20e033 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.36.bb | |||
@@ -20,7 +20,8 @@ SRC_URI[sha256sum] = "e556a529e0a8cf1cd0afd0cab2af5488c9524e7c3f409de29b5d82bb41 | |||
20 | 20 | ||
21 | inherit autotools pkgconfig gettext | 21 | inherit autotools pkgconfig gettext |
22 | 22 | ||
23 | EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind --disable-debug" | 23 | GSTREAMER_DEBUG ?= "--disable-debug" |
24 | EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind ${GSTREAMER_DEBUG}" | ||
24 | 25 | ||
25 | #do_compile_prepend () { | 26 | #do_compile_prepend () { |
26 | # mv ${WORKDIR}/gstregistrybinary.[ch] ${S}/gst/ | 27 | # mv ${WORKDIR}/gstregistrybinary.[ch] ${S}/gst/ |